react-native-lightbox
react-native-lightbox copied to clipboard
Use Component.propTypes instead of static propTypes
A simple enhancement, as the title suggests. Using Component.propTypes will make it easier for developers who use IDEs to view the list of props that the component has, and see suggestions for prop names as he types. Also, in case any prop was made isRequired, a warning will be shown to the developer to insert required attribute... by the inspector.