storybook/docs/snippets/common/storybook-preview-custom-canvas.js.mdx
2020-08-09 01:41:24 +01:00

13 lines
170 B
Plaintext

```js
// .storybook/preview.js
import { MyCanvas } from './MyCanvas';
export const parameters = {
docs: {
components: {
Canvas: MyCanvas,
},
},
};
```