focus(event) {
    if (this.props.onFocus) {
      this.props.onFocus(event)
    }
    this.setState({focused: true, isOpen: true})
  }
/**
   * Mark the input as in focus. Used to determine whether the calendar should
   * be open or not.
   * @param {SyntheticEvent} event - React's original SyntheticEvent.
   * @return {void}
   *
   */
Mark the input as in focus. Used to determine whether the calendar should
be open or not.
@param {SyntheticEvent} event - React's original SyntheticEvent.
@return {void}
Mark the input as in focus . Used to determine whether the calendar should be open or not . @param { SyntheticEvent } event - React ' s original SyntheticEvent . @return { void }
focus(event) {
    if (this.props.onFocus) {
      this.props.onFocus(event)
    }
    this.setState({focused: true, isOpen: true})
  }
focus ( event ) { if ( this . props . onFocus ) { this . props . onFocus ( event ) } this . setState ( { focused : true , isOpen : true } ) }
Mark the input as in focus.
Mark the input as in focus .