React - propTypes

0 votes
208 views
added May 14, 2019 in React by LC Marshal Captain (25,790 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.
...