UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

25 lines (24 loc) 680 B
import { IconicNames, IconicTypes } from '@clubmed/trident-icons'; import { FormControlProps } from './FormControl'; interface DateFieldProps extends Omit<FormControlProps<Date | null>, 'max' | 'min'> { description?: string; /** * Open datepicker text */ openDatepicker?: string; id?: string; icon?: IconicNames; iconType?: IconicTypes; errorMessage?: string; dataTestId?: string; /** * Minimum Date allowed */ min?: Date | undefined; /** * Maximum Date allowed */ max?: Date | undefined; } export declare const DateField: (props: DateFieldProps) => import("react/jsx-runtime").JSX.Element; export {};