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.

9 lines (8 loc) 375 B
/// <reference types="react" /> import { ReactDatePickerProps } from 'react-datepicker'; import 'react-datepicker/dist/react-datepicker.css'; export declare type DateInputProps = ReactDatePickerProps & { isInvalid?: boolean; }; declare const DateInput: ({ isInvalid, value, onChange, isClearable, ...props }: DateInputProps) => JSX.Element; export { DateInput };