import { Meta, DocsContainer, Story } from '@storybook/addon-docs';

<Meta
  title="Addons/Docs/container-override"
  parameters={{
    docs: {
      // eslint-disable-next-line react/prop-types
      container: ({ children, context }) => (
        <DocsContainer context={context}>
          <div style={{ border: '5px solid red' }}>{children}</div>
        </DocsContainer>
      ),
    },
  }}
/>

<Story name="dummy" parameters={{ layout: 'fullscreen' }}>
  <div>some content</div>
</Story>
