react-hook-form-chakra-fields
Version:
A collection of form fields on top of simple and accessible react component library [Chakra UI](https://chakra-ui.com/) and performant form library [React Hook Form](https://react-hook-form.com/), integrated with many other js/ts libraries.
9 lines (8 loc) • 382 B
TypeScript
/// <reference types="react" />
import { DateInputProps } from '../DateInput';
export declare type DateTimeInputProps = Omit<DateInputProps, 'onChange' | 'value'> & {
onChange?: (dateTime: string | null) => void;
value?: string | null;
};
declare const DateTimeInput: ({ id, value, onChange, ...props }: DateTimeInputProps) => JSX.Element;
export { DateTimeInput };