Skip to content

How to use parameters with CSF3 and Typescript correctly? #197

Answered by pocka
mcmxcdev asked this question in Q&A
Discussion options

You must be logged in to vote

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;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mcmxcdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants