Skip to content

Commit

Permalink
feat: Add table.type for each of the argTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
im3dabasia committed Jan 2, 2025
1 parent 68cd36a commit c00a80d
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,23 @@ const meta = {
showColors: {
control: 'boolean',
description: 'Whether to show background and foreground colors.',
table: {
type: { summary: 'boolean' },
},
},
className: {
control: 'text',
description: 'Additional CSS class for the icon.',
table: {
type: { summary: 'string' },
},
},
context: {
control: 'text',
description: 'Context where the icon is being used.',
table: {
type: { summary: 'string' },
},
},
},
};
Expand All @@ -58,6 +67,6 @@ export const Default = {
icon: paragraph,
showColors: false,
className: '',
context: 'default',
context: '',
},
};

0 comments on commit c00a80d

Please sign in to comment.