Constructor
# <Header isMobileScreenWidth hamburgerMenuClicked />
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
isMobileScreenWidth |
bool | Yes | Indicates if the screen width is mobile | |
hamburgerMenuClicked |
func | No | Hamburger menu icon click handler |
Extends
- Component
Members
Methods
# componentDidMount()
Starts a time of day interval timer
# componentWillUnmount()
Clears the time of day interval timer
# updateTimeOfDay()
Updates state with the time of day