mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
5 lines
119 B
Plaintext
5 lines
119 B
Plaintext
```js
|
|
// Button.stories.js
|
|
|
|
export const Text = ({ label, onClick }) => <Button label={label} onClick={onClick} />;
|
|
``` |