@@ -3,46 +3,32 @@ import { Button, View } from '@/ui';
33import { Title } from './title' ;
44
55export const Buttons = ( ) => (
6- < >
7- < Title text = "Buttons" />
8- < View >
9- < View className = "flex-row flex-wrap" >
10- < Button label = "small" size = "sm" className = "mr-2" />
11- < Button
12- label = "small"
13- loading
14- size = "sm"
15- className = "mr-2 min-w-[60px]"
16- />
17- < Button
18- label = "small"
19- size = "sm"
20- variant = "secondary"
21- className = "mr-2"
22- />
23- < Button label = "small" size = "sm" variant = "outline" className = "mr-2" />
24- < Button
25- label = "small"
26- size = "sm"
27- variant = "destructive"
28- className = "mr-2"
29- />
30- < Button label = "small" size = "sm" variant = "ghost" className = "mr-2" />
31- < Button label = "small" size = "sm" disabled className = "mr-2" />
32- </ View >
33- < Button label = "Default Button" />
34- < Button label = "Secondary Button" variant = "secondary" />
35- < Button label = "Outline Button" variant = "outline" />
36- < Button label = "Destructive Button" variant = "destructive" />
37- < Button label = "Ghost Button" variant = "ghost" />
38- < Button label = "Button" loading = { true } />
39- < Button label = "Button" loading = { true } variant = "outline" />
40- < Button label = "Default Button Disabled" disabled />
6+ < >
7+ < Title text = "Buttons" />
8+ < View >
9+ < View className = "flex-row flex-wrap" >
10+ < Button label = "small" size = "sm" className = "mr-2" />
11+ < Button label = "small" loading size = "sm" className = "mr-2 min-w-[60px]" />
12+ < Button label = "small" size = "sm" variant = "secondary" className = "mr-2" />
13+ < Button label = "small" size = "sm" variant = "outline" className = "mr-2" />
4114 < Button
42- label = "Secondary Button Disabled"
43- disabled
44- variant = "secondary"
15+ label = "small"
16+ size = "sm"
17+ variant = "destructive"
18+ className = "mr-2"
4519 />
20+ < Button label = "small" size = "sm" variant = "ghost" className = "mr-2" />
21+ < Button label = "small" size = "sm" disabled className = "mr-2" />
4622 </ View >
47- </ >
48- ) ;
23+ < Button label = "Default Button" />
24+ < Button label = "Secondary Button" variant = "secondary" />
25+ < Button label = "Outline Button" variant = "outline" />
26+ < Button label = "Destructive Button" variant = "destructive" />
27+ < Button label = "Ghost Button" variant = "ghost" />
28+ < Button label = "Button" loading = { true } />
29+ < Button label = "Button" loading = { true } variant = "outline" />
30+ < Button label = "Default Button Disabled" disabled />
31+ < Button label = "Secondary Button Disabled" disabled variant = "secondary" />
32+ </ View >
33+ </ >
34+ ) ;
0 commit comments