mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
Update addons/controls/README.md
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
This commit is contained in:
parent
868a7acd0d
commit
8e661765bf
@ -179,7 +179,7 @@ Basic.args = { label: 'hello', background: '#ff0' };
|
||||
Here's the MDX equivalent:
|
||||
|
||||
```jsx
|
||||
import { Meta, Story } from '@storybook/addon-docs/blocks'
|
||||
import { Meta, Story } from '@storybook/addon-docs/blocks';
|
||||
import { Button } from './Button'
|
||||
|
||||
<Meta title="Button" component={Button} argTypes={{ background: { control: 'color' } }} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user