mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 20:41:07 +08:00
Update docs/snippets/react/button-story-with-args.ts.mdx
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
This commit is contained in:
parent
90a53e6745
commit
3e3e7c38f1
@ -1,7 +1,7 @@
|
||||
```ts
|
||||
// Button.stories.ts
|
||||
|
||||
import { Story } from '@storybook/react';
|
||||
import { Story } from '@storybook/react/types-6-0';
|
||||
|
||||
const Template: Story<ButtonProps> = (args) => <Button {...args} />;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user