Created
April 6, 2016 01:22
-
-
Save nickpresta/ce1b8f947c698da6b3347fbc47c5cfc0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
onFooterClicked: (props, propName, componentName) => { | |
if (props.isFooterVisible) { | |
return React.PropTypes.func.isRequired(props, propName, componentName, 'prop'); | |
} | |
return React.PropTypes.func(props, propName, componentName, 'prop'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment