storybook/docs/snippets/common/storybook-backgrounds-addon-default-params.js.mdx
2021-11-04 21:29:03 +00:00

12 lines
219 B
Plaintext

```js
// addons/backgrounds/src/preset/addParameter.tsx
export const parameters = {
backgrounds: {
values: [
{ name: 'light', value: '#F8F8F8' },
{ name: 'dark', value: '#333333' },
],
},
};
```