This repository was archived by the owner on Mar 7, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +946
-909
lines changed Expand file tree Collapse file tree 9 files changed +946
-909
lines changed Original file line number Diff line number Diff line change 1- import React , { PropTypes } from 'react'
1+ import React from 'react'
2+ import PropTypes from 'prop-types'
23import renderer from 'react-test-renderer'
34import EmptyHandler from '../../src/components/EmptyHandler'
45
Original file line number Diff line number Diff line change 1- import React , { PropTypes } from 'react'
1+ import React from 'react'
2+ import PropTypes from 'prop-types'
23import renderer from 'react-test-renderer'
34import ErrorHandler from '../../src/components/ErrorHandler'
45
Original file line number Diff line number Diff line change 3939 "babel-core" : " ^6.21.0" ,
4040 "babel-eslint" : " ^7.1.1" ,
4141 "babel-jest" : " ^20.0.0" ,
42- "babel-loader" : " ^7.0.0 " ,
42+ "babel-loader" : " ^7.1.1 " ,
4343 "babel-plugin-transform-object-rest-spread" : " ^6.20.2" ,
4444 "babel-preset-es2015" : " ^6.18.0" ,
4545 "babel-preset-react" : " ^6.16.0" ,
4646 "cross-env" : " ^5.0.0" ,
4747 "jest" : " ^20.0.0" ,
48+ "prop-types" : " ^15.5.10" ,
4849 "react" : " ^15.4.1" ,
4950 "react-test-renderer" : " ^15.4.1" ,
5051 "rimraf" : " ^2.5.4" ,
5152 "snazzy" : " ^7.0.0" ,
5253 "standard" : " ^10.0.1" ,
53- "webpack" : " ^2.3 .0"
54+ "webpack" : " ^3.0 .0"
5455 },
5556 "peerDependencies" : {
5657 "react" : " ^15.4.1"
Original file line number Diff line number Diff line change 1- import React , { PropTypes } from 'react'
1+ import React from 'react'
2+ import PropTypes from 'prop-types'
23
34/**
45 * This Mini-Handler handles only the empty-state
Original file line number Diff line number Diff line change 1- import React , { PropTypes } from 'react'
1+ import React from 'react'
2+ import PropTypes from 'prop-types'
23import EmptyHandler from './EmptyHandler'
34import ErrorHandler from './ErrorHandler'
45
Original file line number Diff line number Diff line change 1- import React , { PropTypes } from 'react'
1+ import React from 'react'
2+ import PropTypes from 'prop-types'
23
34/**
45 * This Mini-Handler handles only the error-state
Original file line number Diff line number Diff line change 1- import React , { PropTypes } from 'react'
1+ import React from 'react'
2+ import PropTypes from 'prop-types'
23import ErrorEmptyHandler from './ErrorEmptyHandler'
34import LoadingHandler from './LoadingHandler'
45
Original file line number Diff line number Diff line change 1- import React , { PropTypes } from 'react'
1+ import React from 'react'
2+ import PropTypes from 'prop-types'
23
34/**
45 * This Mini-Handler handles only the loading-state
You can’t perform that action at this time.
0 commit comments