-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Since PropTypes moved to their own library (React 15.5, not sure of the exact version of RN when this happened) the component doesn't work, since it throws an error about undefined values whenever something within React.PropTypes.* is used.
The fix is to use the following in any file where PropTypes is used:
import PropTypes from 'prop-types';
Then replace any declaration of React.PropTypes with PropTypes
This error is initially thrown in /src/switch.js so it definitely needs fixing there first
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels