TimeRangePicker variable

TimeRangePicker variable

Signature

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

Import

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