mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #3616 from overleaf/ae-storybook-docs
Configure Storybook to render Docs stories in iframes GitOrigin-RevId: ef96a0fad445375fc33c5875958c4a3170f0818e
This commit is contained in:
parent
8d88b4ab5f
commit
4fe179f69e
1 changed files with 5 additions and 1 deletions
|
@ -35,7 +35,11 @@ export const parameters = {
|
||||||
// Automatically mark prop-types like onClick, onToggle, etc as Storybook
|
// Automatically mark prop-types like onClick, onToggle, etc as Storybook
|
||||||
// "actions", so that they are logged in the Actions pane at the bottom of the
|
// "actions", so that they are logged in the Actions pane at the bottom of the
|
||||||
// viewer
|
// viewer
|
||||||
actions: { argTypesRegex: '^on.*' }
|
actions: { argTypesRegex: '^on.*' },
|
||||||
|
docs: {
|
||||||
|
// render stories in iframes, to isolate modals
|
||||||
|
inlineStories: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const globalTypes = {
|
export const globalTypes = {
|
||||||
|
|
Loading…
Reference in a new issue