mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
12 lines
192 B
Plaintext
12 lines
192 B
Plaintext
```js
|
|
// .storybook/preview.js
|
|
|
|
export const parameters = {
|
|
backgrounds: {
|
|
values: [
|
|
{ name: 'red', value: '#f00', },
|
|
{ name: 'green', value: '#0f0', },
|
|
],
|
|
},
|
|
}
|
|
``` |