UNPKG

@dojima-ui/types

Version:

common types utilised by dojima organisation for webpages.

15 lines (14 loc) 549 B
/// <reference types="react" /> import { GridComponentProps } from './Grid'; import { FormControlComponentProps } from './Common'; export declare type ParsableDate = string | number | object | Date | null | undefined; export interface DatePickerComponentProps extends FormControlComponentProps, GridComponentProps { value: Date | null; label: string; dateFormat: string; setValue?: React.Dispatch<React.SetStateAction<Date | null>>; maxDate?: ParsableDate; minDate?: ParsableDate; handleChange?: any; name: string; }