storybook/docs/snippets/common/gizmo-story-controls-customization.js.mdx
2021-09-03 23:31:04 +01:00

15 lines
268 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 },
},
},
};
```