storybook/docs/snippets/common/storybook-addon-backgrounds-disable-grid.mdx.mdx
2022-07-07 19:26:21 +01:00

21 lines
340 B
Plaintext

```md
<!-- Button.stories.mdx -->
import { Meta, Story } from '@storybook/addon-docs';
import { Button } from './Button';
<Meta title="Button" component={Button} />
<Story
name="Large"
parameters={{
backgrounds: {
grid: {
disable: true,
}
}
}}
render={() => ({ // Your implementation here })} />
```