Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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;