storybook/docs/snippets/angular/button-story-with-blue-args.ts.mdx
2020-08-14 21:46:15 +01:00

19 lines
330 B
Plaintext

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