Skip to content

Commit 6ba089a

Browse files
rrjosonjquense
authored andcommitted
chore: update storybook (#1184)
Fixes issue described in storybookjs/storybook#3313
1 parent ce0d56b commit 6ba089a

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"@4c/rollout": "^1.2.0",
6868
"@babel/cli": "^7.1.0",
6969
"@babel/core": "^7.1.5",
70-
"@storybook/addon-actions": "^3.4.11",
71-
"@storybook/react": "3.4.11",
70+
"@storybook/addon-actions": "^4.1.7",
71+
"@storybook/react": "^4.1.7",
7272
"babel-core": "^7.0.0-bridge.0",
7373
"babel-eslint": "^10.0.1",
7474
"babel-jest": "^23.6.0",

stories/Calendar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { storiesOf, action } from '@storybook/react'
1+
import { storiesOf } from '@storybook/react'
2+
import { action } from '@storybook/addon-actions'
3+
24
import moment from 'moment'
35
import React from 'react'
46

stories/DragAndDrop.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react'
2-
import { storiesOf, action } from '@storybook/react'
2+
import { storiesOf } from '@storybook/react'
3+
import { action } from '@storybook/addon-actions'
34

45
import { events, Calendar, DragAndDropCalendar } from './helpers'
56
import customComponents from './helpers/customComponents'

stories/Timeslots.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { storiesOf, action } from '@storybook/react'
1+
import { storiesOf } from '@storybook/react'
2+
import { action } from '@storybook/addon-actions'
23
import moment from 'moment'
34
import React from 'react'
45

stories/helpers/customComponents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { action } from '@storybook/react'
2+
import { action } from '@storybook/addon-actions'
33

44
const customComponents = {
55
dateCellWrapper: dateCellWrapperProps => {

0 commit comments

Comments
 (0)