DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
proptypes for a react component
//You can now use `PropTypes.elementType` // to validate for Component type props
Source by reactjs.org #
PREVIOUS
NEXT
Tagged:
#proptypes
#react
#component
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit