import { Button } from '@storybook/react/demo';
import { Story, Meta } from '@storybook/addon-docs/blocks';

<Meta
  title="Button"
  decorators={[storyFn => <div style={{ backgroundColor: 'yellow' }}>{storyFn()}</div>]}
/>

# Decorated story

<Story name="one" decorators={[storyFn => <div className="local">{storyFn()}</div>]}>
  <Button>One</Button>
</Story>
