mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-10 00:12:22 +08:00
Make the example to work with Safari
This commit is contained in:
parent
53a97a75d4
commit
758b37c29f
@ -18,7 +18,7 @@ storiesOf('Example of Knobs', module)
|
|||||||
))
|
))
|
||||||
.add('with all knobs', () => {
|
.add('with all knobs', () => {
|
||||||
const name = text('Name', 'Tom Cary');
|
const name = text('Name', 'Tom Cary');
|
||||||
const dob = date('DOB', new Date('1889 Jan 20'));
|
const dob = date('DOB', new Date('January 20 1887'));
|
||||||
const bold = boolean('Bold', false);
|
const bold = boolean('Bold', false);
|
||||||
const color = select('Color', {
|
const color = select('Color', {
|
||||||
red: 'Red',
|
red: 'Red',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user