storybook/docs/snippets/common/storybook-preview-optout-inline.ts.mdx
2023-03-02 22:01:15 +00:00

18 lines
333 B
Plaintext

```ts
// .storybook/preview.ts
// Replace your-framework with the framework you are using (e.g., react, vue3)
import { Preview } from '@storybook/your-framework';
const preview: Preview = {
parameters: {
docs: {
// Opt-out of inline rendering
story: { inline: false },
},
},
};
export default preview;
```