Parent: main.js|ts configuration
Type: (body: string) => string
Programmatically adjust the preview <body>
of your Storybook. Most often used by addon authors.
If you don't need to programmatically adjust the preview body, you can add scripts and styles to preview-body.html
instead.
For example, you can conditionally add scripts or styles, depending on the environment:
Code Snippets
Oh no! We could not find the code you are looking for.
It would be great if you could report an issue on Github if you see that message.