storybook/docs/snippets/svelte/button-story-with-blue-args.js.mdx
2021-05-07 18:07:39 +01:00

19 lines
324 B
Plaintext

```js
// Button.stories.js
import Button from './Button.svelte';
export default {
title: 'Button',
component: Button,
parameters: {
backgrounds: {
values: [
{ name: 'red', value: '#f00', },
{ name: 'green', value: '#0f0', },
{ name: 'blue', value: '#00f', },
]
}
}
}
```