Menu

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.

Enterprise Open source

DatePickerProps interface

Signature

typescript
export interface DatePickerProps 

Import

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

Properties

PropertyTypeDescription
isOpenboolean
minDateDate
onChange(value: Date) => void
onClose() => void
valueDate

isOpen property

Signature

typescript
isOpen?: boolean;

minDate property

Signature

typescript
minDate?: Date;

onChange property

Signature

typescript
onChange: (value: Date) => void;

onClose property

Signature

typescript
onClose: () => void;

value property

Signature

typescript
value?: Date;