mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
Fixing README.md example for addons/info
This commit is contained in:
parent
bc2b7ce6a2
commit
670a6de5e9
@ -52,7 +52,7 @@ storiesOf('Component', module)
|
||||
withInfo({
|
||||
text: 'String or React Element with docs about my component', // Warning! This option's name will be likely renamed to "summary" in 3.3 release. Follow this PR #1501 for details
|
||||
// other possible options see in Global options section below
|
||||
)(() =>
|
||||
})(() =>
|
||||
<Component>Click the "?" mark at top-right to view the info.</Component>
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user