UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

31 lines 1.14 kB
export interface DateTimeInputProps { /** Label for the input field */ label: string; /** Date value in YYYY-MM-DD format */ date: string; /** Time value in HH:MM format */ time: string; /** Callback when date changes */ onDateChange: (date: string) => void; /** Callback when time changes */ onTimeChange: (time: string) => void; /** Error message to display */ errorMessage?: string; /** Whether the input is disabled */ disabled?: boolean; /** Default time when not set */ defaultTime?: string; /** data-testid for testing */ testId?: string; /** Label for time input */ timeLabel?: string; /** Additional className for container */ className?: string; } /** * DateTimeInput component that combines date and time selection * with a dropdown calendar picker */ declare const DateTimeInput: ({ label, date, time, onDateChange, onTimeChange, errorMessage, disabled, defaultTime, testId, timeLabel, className, }: DateTimeInputProps) => import("react/jsx-runtime").JSX.Element; export default DateTimeInput; //# sourceMappingURL=DateTimeInput.d.ts.map