mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
Merge pull request #3396 from nemoDreamer/addons-knobs-fix-selectv2-example
Fixed addon Knobs' `selectV2` example's `defaultValue`
This commit is contained in:
commit
0744763aa6
@ -311,7 +311,7 @@ const options = {
|
||||
Rainbow: ['red', 'orange', 'etc'],
|
||||
None: null,
|
||||
};
|
||||
const defaultValue = 'Red';
|
||||
const defaultValue = 'red';
|
||||
const groupId = 'GROUP-ID1';
|
||||
|
||||
const value = selectV2(label, options, defaultValue, groupId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user