add propTypes

This commit is contained in:
Devin Howard 2016-08-02 09:19:12 +08:00 committed by Connor Turland
parent 17da8441f4
commit 2b2f6e6dc4

View file

@ -56,4 +56,11 @@ class Header extends Component {
}
}
Header.propTypes = {
signedIn: PropTypes.bool.isRequired,
section: PropTypes.string.isRequired,
userAvatar: PropTypes.string,
userName: PropTypes.string
}
export default Header