useNativePicker() {
    return (
      typeof navigator !== 'undefined' &&
      /Android|iPhone|iPad|iPod/i.test(navigator.userAgent)
    )
  }
/**
   * Test whether we're on android or iphone. In that case, we hide the calendar
   * (unless we specify the useCalendarOnMobile prop to force it). This is because
   * those platforms have native inputs for dates which are much better for touch
   * than what we can do with a calendar.
   * @return {boolean} - true if on iOS or Android
   */
Test whether we're on android or iphone. In that case, we hide the calendar
(unless we specify the useCalendarOnMobile prop to force it). This is because
those platforms have native inputs for dates which are much better for touch
than what we can do with a calendar.
@return {boolean} - true if on iOS or Android
Test whether we ' re on android or iphone . In that case we hide the calendar ( unless we specify the useCalendarOnMobile prop to force it ) . This is because those platforms have native inputs for dates which are much better for touch than what we can do with a calendar . @return { boolean } - true if on iOS or Android
useNativePicker() {
    return (
      typeof navigator !== 'undefined' &&
      /Android|iPhone|iPad|iPod/i.test(navigator.userAgent)
    )
  }
useNativePicker ( ) { return ( typeof navigator !== 'undefined' && / Android|iPhone|iPad|iPod / i . test ( navigator . userAgent ) ) }
Test whether we're on android or iphone.
Test whether we ' re on android or iphone .