@douglasneuroinformatics/libui-form-types
    Preparing search index...

    Type Alias FormBlock<TData>

    An item of arbitrary JSX that may be inlined amongst the groups of a form

    type FormBlock<TData extends FormDataType = FormDataType> = {
        kind: "block";
        render: (
            this: void,
            data: PartialFormDataType<TData>,
            context: { t: (translations: { [key: string]: string }) => string },
        ) => ReactNode;
    }

    Type Parameters

    Index
    kind: "block"
    render: (
        this: void,
        data: PartialFormDataType<TData>,
        context: { t: (translations: { [key: string]: string }) => string },
    ) => ReactNode