mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:11:49 +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'],
|
Rainbow: ['red', 'orange', 'etc'],
|
||||||
None: null,
|
None: null,
|
||||||
};
|
};
|
||||||
const defaultValue = 'Red';
|
const defaultValue = 'red';
|
||||||
const groupId = 'GROUP-ID1';
|
const groupId = 'GROUP-ID1';
|
||||||
|
|
||||||
const value = selectV2(label, options, defaultValue, groupId);
|
const value = selectV2(label, options, defaultValue, groupId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user