add propTypes
This commit is contained in:
parent
17da8441f4
commit
2b2f6e6dc4
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue