storybook/docs/snippets/common/storybook-preview-custom-params.js.mdx
2021-11-03 23:31:14 +00:00

12 lines
187 B
Plaintext

```js
// .storybook/preview.js
export const parameters = {
backgrounds: {
values: [
{ name: 'red', value: '#f00' },
{ name: 'green', value: '#0f0' },
],
},
};
```