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 forum.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#proptypes
#react
#component
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit