API Reference@grafana/uiTimeRangePicker

TimeRangePicker variable

TimeRangePicker variable

Signature

TimeRangePicker: React.FunctionComponent<{
    value: TimeRange;
    timeZone?: string | undefined;
    onChange: (timeRange: TimeRange) => void;
    history?: TimeRange[] | undefined;
    onChangeTimeZone: (timeZone: TimeZone) => void;
    hideQuickRanges?: boolean | undefined;
    hideText?: boolean | undefined;
    timeSyncButton?: JSX.Element | undefined;
    isSynced?: boolean | undefined;
    onMoveBackward: () => void;
    onMoveForward: () => void;
    onZoom: () => void;
}>

Import

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