TimeRangePicker variable

TimeRangePicker variable

Signature

  1. TimeRangePicker: React.FunctionComponent<{
  2. value: TimeRange;
  3. fiscalYearStartMonth?: number | undefined;
  4. timeZone?: string | undefined;
  5. onChange: (timeRange: TimeRange) => void;
  6. history?: TimeRange[] | undefined;
  7. hideText?: boolean | undefined;
  8. onChangeTimeZone: (timeZone: TimeZone) => void;
  9. onChangeFiscalYearStartMonth?: ((month: number) => void) | undefined;
  10. hideQuickRanges?: boolean | undefined;
  11. widthOverride?: number | undefined;
  12. onMoveBackward: () => void;
  13. onMoveForward: () => void;
  14. onZoom: () => void;
  15. timeSyncButton?: JSX.Element | undefined;
  16. isSynced?: boolean | undefined;
  17. }>

Import

  1. import { TimeRangePicker } from '@grafana/ui';