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.

8 lines (7 loc) 458 B
import React, { ElementType } from 'react'; import { FieldPrototypeProps } from '../Builders'; export declare type InputFieldProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & FieldPrototypeProps & { as?: ElementType; }; declare const InputField: ({ name, label, required, disabled, helperText, id, tip, as, colSpan, colStart, colEnd, rowSpan, rowStart, rowEnd, ...props }: InputFieldProps) => JSX.Element; export { InputField };