@@ -21,7 +21,6 @@ const meta = {
2121 onClick : fn ( ) ,
2222 } ,
2323 tags : [ 'autodocs' ] ,
24- argTypes : { } ,
2524} satisfies Meta < typeof Button > ;
2625
2726export default meta ;
@@ -42,6 +41,22 @@ export const Primary: Story = {
4241 } ,
4342} ;
4443
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+
4560export const Secondary : Story = {
4661 args : {
4762 name : 'button' ,
@@ -57,6 +72,22 @@ export const Secondary: Story = {
5772 } ,
5873} ;
5974
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+
6091export const Tertiary : Story = {
6192 args : {
6293 name : 'button' ,
@@ -72,6 +103,21 @@ export const Tertiary: Story = {
72103 } ,
73104} ;
74105
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+ } ;
75121export const TertiaryOnDark : Story = {
76122 args : {
77123 name : 'button' ,
0 commit comments