UNPKG

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.

10 lines (9 loc) 435 B
/// <reference types="react" /> import { TimeInputProps } from '../TimeInput'; export declare type DateTimeOnlyInputProps = Omit<TimeInputProps, 'onChange' | 'value'> & { onChange?: (date: string, time: string) => void; value?: string | null; initDate?: string; }; declare const DateTimeOnlyInput: ({ id, initDate, value, onChange, ...props }: DateTimeOnlyInputProps) => JSX.Element; export { DateTimeOnlyInput };