@@ -21,7 +21,6 @@ const meta = {
21
21
onClick : fn ( ) ,
22
22
} ,
23
23
tags : [ 'autodocs' ] ,
24
- argTypes : { } ,
25
24
} satisfies Meta < typeof Button > ;
26
25
27
26
export default meta ;
@@ -42,6 +41,22 @@ export const Primary: Story = {
42
41
} ,
43
42
} ;
44
43
44
+ export const PrimaryButtonWithIcon : Story = {
45
+ args : {
46
+ name : 'button' ,
47
+ variant : 'primary' ,
48
+ children : 'Primary Button' ,
49
+ // icons: <DownloadTwoFillIcon /> ,
50
+ } ,
51
+ parameters : {
52
+ design : {
53
+ type : 'figma' ,
54
+ url : 'https://www.figma.com/file/k9SOqgh5jk9PxzuBKdMKsA/IFRC-GO---UI-Library?type=design&node-id=11261-189962&mode=design&t=H77btqXhNDop8ZRl-4' ,
55
+ allowFullscreen : false ,
56
+ } ,
57
+ } ,
58
+ } ;
59
+
45
60
export const Secondary : Story = {
46
61
args : {
47
62
name : 'button' ,
@@ -57,6 +72,22 @@ export const Secondary: Story = {
57
72
} ,
58
73
} ;
59
74
75
+ export const SecondaryButtonWithIcon : Story = {
76
+ args : {
77
+ name : 'button' ,
78
+ variant : 'primary' ,
79
+ children : 'Primary Button' ,
80
+ // icons: <DownloadTwoFillIcon /> ,
81
+ } ,
82
+ parameters : {
83
+ design : {
84
+ type : 'figma' ,
85
+ url : 'https://www.figma.com/file/k9SOqgh5jk9PxzuBKdMKsA/IFRC-GO---UI-Library?type=design&node-id=11261-189950&mode=design&t=H77btqXhNDop8ZRl-4' ,
86
+ allowFullscreen : false ,
87
+ } ,
88
+ } ,
89
+ } ;
90
+
60
91
export const Tertiary : Story = {
61
92
args : {
62
93
name : 'button' ,
@@ -72,6 +103,21 @@ export const Tertiary: Story = {
72
103
} ,
73
104
} ;
74
105
106
+ export const TertiaryButtonWithIcon : Story = {
107
+ args : {
108
+ name : 'button' ,
109
+ variant : 'primary' ,
110
+ children : 'Primary Button' ,
111
+ // icons: <DownloadTwoFillIcon /> ,
112
+ } ,
113
+ parameters : {
114
+ design : {
115
+ type : 'figma' ,
116
+ url : 'https://www.figma.com/file/k9SOqgh5jk9PxzuBKdMKsA/IFRC-GO---UI-Library?type=design&node-id=11261-189955&mode=design&t=H77btqXhNDop8ZRl-4' ,
117
+ allowFullscreen : false ,
118
+ } ,
119
+ } ,
120
+ } ;
75
121
export const TertiaryOnDark : Story = {
76
122
args : {
77
123
name : 'button' ,
0 commit comments