Plugin to allow pretty-proptypes to more easily pull in component data
npm install babel-plugin-extract-react-types> A Babel plugin to store the types of React components as a property on the component for documentation
``bash`
yarn add babel-plugin-extract-react-types pretty-proptypes
.babelrc
`json`
{
"plugins": ["babel-plugin-extract-react-types"]
}
`jsx
import SomeComponent from 'somewhere';
import Props from 'pretty-proptypes';
``