-
We are using CSF3 and wondering how to satifsy Typescript in this case:
This will produce an error like It's possible to do We can also do |
Beta Was this translation helpful? Give feedback.
Answered by
pocka
Jun 20, 2023
Replies: 1 comment
-
https://storybook.js.org/docs/react/writing-stories/parameters export const Default = {
args: {
children: 'Next',
disabled: false,
uppercase: false,
},
parameters: {
design: {
type: 'figma',
url: '...',
},
},
} satisfies Story; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mcmxcdev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://storybook.js.org/docs/react/writing-stories/parameters