mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 16:11:08 +08:00
Add note to addon-backgrounds docs Readme
addParameter should be called before configure
This commit is contained in:
parent
56fea53356
commit
9b7d48436e
@ -51,6 +51,8 @@ addParameters({
|
||||
{ name: 'facebook', value: '#3b5998' },
|
||||
],
|
||||
});
|
||||
|
||||
// should be before configure()
|
||||
```
|
||||
|
||||
If you want to override backgrounds for a single story or group of stories, pass the `backgrounds` parameter:
|
||||
|
Loading…
x
Reference in New Issue
Block a user