mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
Merge pull request #1700 from ajfuller/patch-1
[documentation] Remove imports from README that are not necessary with latest API
This commit is contained in:
commit
ff23bdf1ab
@ -29,7 +29,6 @@ Then wrap your story with the `withInfo`, which is a function that takes either
|
||||
documentation text or an options object:
|
||||
|
||||
```js
|
||||
import { configure, setAddon } from '@storybook/react';
|
||||
import { withInfo } from '@storybook/addon-info';
|
||||
|
||||
storiesOf('Component', module)
|
||||
@ -46,7 +45,6 @@ storiesOf('Component', module)
|
||||
the info panel looks on a per-story basis:
|
||||
|
||||
```js
|
||||
import { configure, setAddon } from '@storybook/react';
|
||||
import { withInfo } from '@storybook/addon-info';
|
||||
|
||||
storiesOf('Component', module)
|
||||
|
Loading…
x
Reference in New Issue
Block a user