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