import React, { ComponentType, JSXElementConstructor, ReactElement } from "react"; import { WithDescription, WithLabel, WithBottomSpace, WithName } from "~/utils/react/props"; export declare type InputProps = { onChange: (v: V) => void; onBlur?: () => void; value: V; }; export declare type Props> = WithLabel & WithBottomSpace & WithDescription & WithName & Omit; declare type _Props> = { Component: ComponentType

; props: Props; }; export declare function Field>({ Component, props: { name, bottomSpace, label, description, ...other }, }: _Props): ReactElement; export declare const createField: >(c: React.JSXElementConstructor

) => (props: Props) => ReactElement; export {};