ADD fullscreen layout to a few stories that need it

This commit is contained in:
Norbert de Langen 2020-05-16 00:17:21 +02:00
parent c8b624d34c
commit 9519ee95f7
No known key found for this signature in database
GPG Key ID: 976651DA156C2825
2 changed files with 4 additions and 1 deletions

View File

@ -14,4 +14,4 @@ import { Meta, DocsContainer } from '@storybook/addon-docs/blocks';
}}
/>
<Story name='dummy'><div>some content</div></Story>
<Story name='dummy' parameters={{ layout: 'fullscreen' }}><div>some content</div></Story>

View File

@ -5,6 +5,9 @@ import markdown from './markdown.stories.mdx';
export default {
title: 'Addons/Docs/mdx-in-story',
decorators: [(storyFn) => <DocsContainer context={{}}>{storyFn()}</DocsContainer>],
parameters: {
layout: 'fullscreen',
},
};
// This renders the contents of the docs panel into story content