UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

7 lines (6 loc) 369 B
import type { ReactElement } from "react"; import type { InputProps } from "./Input.js"; /** Show a `<Field>` for a named property in the current form. */ export declare function FormField({ name, ...props }: InputProps): ReactElement; /** List of `<Field>` elements for every schema property in the current form. */ export declare function FormFields(): ReactElement;