storybook/docs/snippets/common/gizmo-story-controls-customization.mdx.mdx
2021-10-12 19:10:23 +01:00

22 lines
310 B
Plaintext

```md
<!-- Gizmo.stories.mdx -->
import { Meta } from '@storybook/addon-docs';
import { Gizmo } from './Gizmo';
<Meta
title="Gizmo"
component={Gizmo}
argTypes={{
width: {
control: {
type: 'range',
min: 400,
max: 1200,
step: 50,
},
},
}}
/>
```