2.1.0
Note: tagging this as a minor release because you might have to update snapshots while running your tests if you're using .oneOf
in places...
- Fixes enum propType (aka
oneOf
) which was injecting the string quotes into the component. For exampletype: PropTypes.oneOf('News', 'Photos')
would inject'News'
into the snapshot instead of the desiredNews
- Better warning logging (the old warning messages didn't reflect recent changes to the package)
- Fresh dependencies and linter fixes