#How To Show arg options Within The Same Cell

2 messages · Page 1 of 1 (latest)

hollow sparrow
#

Is there a way to show what you can pass into an argument within the same cell. I kinda got it working but id rather have like a description for the variant rather than having to dig into arg types to see what I can pass in. export const Primary = Template.bind({}); Primary.args = { children: 'Button', disabled: false, compact: false, uppercase: false, variant: 'outline', argTypes: { variant: { options: ["outline","white","light", "default","filled", "subtle", "gradient"] } } };

unborn pawn