UNPKG

react-hook-form-generator

Version:

A [React](https://reactjs.org/) component to quickly and easily generate forms from object schema. Built with [React Hook Form](https://react-hook-form.com/) and [Chakra UI](https://chakra-ui.com/).

5 lines (4 loc) 272 B
/// <reference types="react" /> import { FormStyles, FieldStyles } from '../types'; export declare const StyleCtx: import("react").Context<FormStyles>; export declare const useStyles: <T extends FieldStyles>(type: keyof FormStyles, inlineStyles?: T | undefined) => T;