storybook/docs/snippets/common/gizmo-story-controls-customization.js.mdx
2021-08-28 01:52:57 +01:00

15 lines
264 B
Plaintext

```js
// Gizmo.stories.js | Gizmo.stories.jsx | Gizmo.stories.ts | Gizmo.stories.tsx
import Gizmo from './Gizmo';
export default {
component: Gizmo,
argTypes: {
width: {
control: { type: 'range', min: 400, max: 1200, step: 50 },
},
},
};
```