storybook/docs/snippets/web-components/button-story-with-blue-args.js.mdx

22 lines
381 B
Plaintext

```js
// demo-button.stories.js
import { html } from 'lit-html';
import './demo-button';
export default {
title: 'Button',
//👇 Creates specific parameters for the story
parameters: {
backgrounds: {
values: [
{ name: 'red', value: '#f00' },
{ name: 'green', value: '#0f0' },
{ name: 'blue', value: '#00f' },
],
},
},
};
```