UNPKG

@jielu/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) 517 B
/// <reference types="react" /> import { FieldPrototypeProps } from '../Builders'; import { DateTimeInputProps } from '../Inputs'; export declare type DateTimeFieldProps = Omit<DateTimeInputProps, 'onChange'> & FieldPrototypeProps & { requiredFieldMessage?: string; }; declare const DateTimeField: ({ name, label, required, disabled, helperText, id, tip, colSpan, colStart, colEnd, rowSpan, rowStart, rowEnd, requiredFieldMessage, ...props }: DateTimeFieldProps) => JSX.Element; export { DateTimeField };