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:
Hugh O'Brien 2021-02-03 10:23:17 +00:00 committed by Copybot
parent 8d88b4ab5f
commit 4fe179f69e

View file

@ -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 = {