@fluster.io/dev
Version:
24 lines (23 loc) • 790 B
TypeScript
import { ReactNode } from 'react';
import { FormInputProps } from '../types';
import { FieldValues } from 'react-hook-form';
interface DateTimeInputProps<T extends FieldValues> extends Omit<FormInputProps<T>, "label" | "desc"> {
classes?: {
container?: string;
dateFormItem?: string;
calendar?: string;
calendarPopoverContent?: string;
calendarPopover?: string;
calendarButton?: string;
timeInput?: string;
timeInputLabel?: string;
calendarInputLabel?: string;
calendarInputContainer?: string;
timeInputContainer?: string;
};
}
export declare const DateTimeInput: {
<T extends FieldValues>({ form, name, classes, }: DateTimeInputProps<T>): ReactNode;
displayName: string;
};
export {};