Update recipes.md

This commit is contained in:
Michael Shilman 2019-10-11 07:08:52 +08:00 committed by GitHub
parent 41e08a338e
commit 86c19caca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,10 +55,10 @@ basic.story = {
```md
import { Meta, Story } from '@storybook/addon-docs/blocks';
import \* as stories from './Button.stories.js';
import * as stories from './Button.stories.js';
import { SomeComponent } from 'path/to/SomeComponent';
<Meta {...stories.default} />
<Meta title="Demo/Button" component={Button} />
# Button