Last active
August 31, 2017 01:34
-
-
Save imapolaris/5d277530aa2871325525b6058b7859a9 to your computer and use it in GitHub Desktop.
PropTypes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PropTypes from 'prop-types' | |
class ZJ extends Component{ | |
} | |
ZJ.propTypes = { | |
value: PropTypes.number.isRequired, | |
func: PropTypes.func.isRequired | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment