storybook/docs/snippets/common/storybook-preview-custom-code-renderer.js.mdx
2020-10-07 12:23:34 +08:00

13 lines
171 B
Plaintext

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