mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 06:51:19 +08:00
5 lines
145 B
Plaintext
5 lines
145 B
Plaintext
```js
|
|
// Button.stories.js | Button.stories.jsx | Button.stories.ts | Button.stories.tsx
|
|
|
|
export const Text = (args) => <Button {...args} />;
|
|
``` |