storybook/docs/snippets/common/storybook-addon-backgrounds-configure-backgrounds.mdx.mdx
2021-08-08 18:33:11 +01:00

18 lines
304 B
Plaintext

```md
<!-- Button.stories.mdx -->
import { Meta } from '@storybook/addon-docs';
<Meta
title='Button'
parameters={{
backgrounds: {
default: 'twitter',
values: [
{ name: 'twitter', value: '#00aced' },
{ name: 'facebook', value: '#3b5998' },
],
},
}}
/>
```