TimeRangePicker variable
TimeRangePicker variable
Signature
TimeRangePicker: React.FunctionComponent<{
value: TimeRange;
fiscalYearStartMonth?: number | undefined;
timeZone?: string | undefined;
onChange: (timeRange: TimeRange) => void;
history?: TimeRange[] | undefined;
hideText?: boolean | undefined;
onChangeTimeZone: (timeZone: TimeZone) => void;
onChangeFiscalYearStartMonth?: ((month: number) => void) | undefined;
hideQuickRanges?: boolean | undefined;
onMoveBackward: () => void;
onMoveForward: () => void;
onZoom: () => void;
timeSyncButton?: JSX.Element | undefined;
isSynced?: boolean | undefined;
}>
Import
import { TimeRangePicker } from '@grafana/ui';