react-native-lightbox icon indicating copy to clipboard operation
react-native-lightbox copied to clipboard

Use Component.propTypes instead of static propTypes

Open BaderSerhan opened this issue 6 years ago • 0 comments

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.

BaderSerhan avatar Jun 18 '19 14:06 BaderSerhan