@nlabs/gothamjs
Version:
Platform
19 lines (18 loc) • 761 B
TypeScript
import type { GothamColor } from '../../utils/colorUtils.js';
export interface DateFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
readonly className?: string;
readonly color?: GothamColor;
readonly defaultValue?: number;
readonly disabled?: boolean;
readonly label?: string;
readonly labelClass?: string;
readonly labelColor?: GothamColor;
readonly name: string;
readonly error?: boolean;
readonly errorColor?: GothamColor;
readonly maxDate?: number;
readonly minDate?: number;
readonly onChange?: (date: any) => void;
readonly value?: number;
}
export declare const DateField: import("react").ForwardRefExoticComponent<DateFieldProps & import("react").RefAttributes<HTMLInputElement>>;