mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Bump react-scripts from 2.1.8 to 3.0.1 (#6963)
Bump react-scripts from 2.1.8 to 3.0.1
This commit is contained in:
commit
09cc573936
@ -35,6 +35,6 @@
|
|||||||
"@storybook/client-logger": "5.1.1",
|
"@storybook/client-logger": "5.1.1",
|
||||||
"@storybook/react": "5.1.1",
|
"@storybook/react": "5.1.1",
|
||||||
"@storybook/theming": "5.1.1",
|
"@storybook/theming": "5.1.1",
|
||||||
"react-scripts": "^2.1.8"
|
"react-scripts": "^3.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,9 +27,19 @@ storiesOf('Button', module)
|
|||||||
.add('with text', () => <Button onClick={action('clicked', { depth: 1 })}>Hello Button</Button>, {
|
.add('with text', () => <Button onClick={action('clicked', { depth: 1 })}>Hello Button</Button>, {
|
||||||
options: { selectedPanel: 'storybook/actions/panel' },
|
options: { selectedPanel: 'storybook/actions/panel' },
|
||||||
})
|
})
|
||||||
.add('with some emoji', () => <Button onClick={action('clicked')}>😀 😎 👍 💯</Button>, {
|
.add(
|
||||||
|
'with some emoji',
|
||||||
|
() => (
|
||||||
|
<Button onClick={action('clicked')}>
|
||||||
|
<span role="img" aria-label="yolo">
|
||||||
|
😀 😎 👍 💯
|
||||||
|
</span>
|
||||||
|
</Button>
|
||||||
|
),
|
||||||
|
{
|
||||||
options: { selectedPanel: 'storybook/actions/panel' },
|
options: { selectedPanel: 'storybook/actions/panel' },
|
||||||
})
|
}
|
||||||
|
)
|
||||||
.add('with notes', () => <Button>Check my notes in the notes panel</Button>, {
|
.add('with notes', () => <Button>Check my notes in the notes panel</Button>, {
|
||||||
notes: 'A very simple button',
|
notes: 'A very simple button',
|
||||||
options: { selectedPanel: 'storybook/notes/panel' },
|
options: { selectedPanel: 'storybook/notes/panel' },
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"global": "^4.3.2",
|
"global": "^4.3.2",
|
||||||
"react": "^15.4.2",
|
"react": "^15.4.2",
|
||||||
"react-dom": "^15.4.2",
|
"react-dom": "^15.4.2",
|
||||||
"react-scripts": "1.1.5"
|
"react-scripts": "3.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user