HurricaneJames/lazy-input

Doesn't work with React 16

Opened this issue · 1 comments

Trying to start up node with a fresh install of React 16 results in:

node_modules/lazy-input/dist/LazyInput.js:8
type: React.PropTypes.oneOfType([// ['text'] type of input/textarea

I believe you can resolve this by installing the prop-types package and accessing proptypes through it in the relevant file:

import PropTypes from 'prop-types'

//...

type: PropTypes.oneOfType(...)

👍 Same issue here.