React - propTypes

0 votes
103 views
added May 14, 2019 in React by LC Marshal Captain (25,770 points)
Sidebar.propTypes = {
  isOpen: PropTypes.bool,
  isLogin: PropTypes.bool,
  closeSidebar: PropTypes.func,
  handleLogout: PropTypes.func,
};

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...