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

<Meta title="Button" loaders={[async () => ({ foo: 1 })]} />

# Story with loader

<Story name="one" loaders={[async () => ({ bar: 2 })]}>
  <Button>One</Button>
</Story>
