mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
commit
68cd5489ac
@ -66,7 +66,7 @@ import { SomeComponent } from 'path/to/SomeComponent';
|
|||||||
|
|
||||||
I can define a story with the function imported from CSF:
|
I can define a story with the function imported from CSF:
|
||||||
|
|
||||||
<Story name="basic">{stories.basic}</Story>
|
<Story name="basic">{stories.basic()}</Story>
|
||||||
|
|
||||||
And I can also embed arbitrary markdown & JSX in this file.
|
And I can also embed arbitrary markdown & JSX in this file.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user