Interface Field<T>

interface Field<T extends DataObject> {
    key?: keyof T;
    renderInput?: (data: T, meta: Field<T>) => ReactNode;
    renderLabel?: ReactNode | (data: keyof T) => ReactNode;
}

Type Parameters

  • T extends DataObject

Hierarchy

  • Pick<
        InputHTMLAttributes<HTMLInputElement>,

            | "type"
            | "readOnly"
            | "required"
            | "min"
            | "minLength"
            | "max"
            | "maxLength"
            | "step"
            | "multiple"
            | "accept"
            | "placeholder",
    >
    • Field

Properties

key?: keyof T
renderInput?: (data: T, meta: Field<T>) => ReactNode
renderLabel?: ReactNode | (data: keyof T) => ReactNode
MMNEPVFCICPMFPCPTTAAATR