This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiDatePickerProps

DatePickerProps interface

Signature

export interface DatePickerProps 

Import

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

Properties

Property Type Description
isOpen boolean
onChange (value: Date) => void
onClose () => void
value Date

isOpen property

Signature

isOpen?: boolean;

onChange property

Signature

onChange: (value: Date) => void;

onClose property

Signature

onClose: () => void;

value property

Signature

value?: Date;