From 2b2f6e6dc4e28c6b7783f6a7320350b669719255 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Tue, 2 Aug 2016 09:19:12 +0800 Subject: [PATCH] add propTypes --- frontend/src/components/Header.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/components/Header.js b/frontend/src/components/Header.js index 2ea3c755..e115b350 100644 --- a/frontend/src/components/Header.js +++ b/frontend/src/components/Header.js @@ -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