add missing factory functions
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -1,10 +1,12 @@
|
|||||||
import { JSX } from "react";
|
import { JSX } from "react";
|
||||||
|
|
||||||
|
|
||||||
export type IElixFormsComponentCustomFormFieldFactory = {
|
export type IElixFormsComponentCustomFormFieldFactory = {
|
||||||
|
createBooleanInput: (name: string, label: string, required?: boolean) => JSX.Element;
|
||||||
|
createCheckboxInput: (name: string, label: string, options: Map<number, string>, required?: boolean) => JSX.Element;
|
||||||
|
createDropdownInput: (name: string, label: string, options: Map<number, string>, required?: boolean) => JSX.Element;
|
||||||
|
createHiddenInput: (name: string) => JSX.Element;
|
||||||
|
createNumberInput: (name: string, label: string, required?: boolean) => JSX.Element;
|
||||||
|
createRadioInput: (name: string, label: string, options: Map<number, string>, required?: boolean) => JSX.Element;
|
||||||
createTextInput: (name: string, label: string, required?: boolean) => JSX.Element;
|
createTextInput: (name: string, label: string, required?: boolean) => JSX.Element;
|
||||||
createTextAreaInput: (name: string, label: string, required?: boolean) => JSX.Element;
|
createTextAreaInput: (name: string, label: string, required?: boolean) => JSX.Element;
|
||||||
createNumberInput: (name: string, label: string, required?: boolean) => JSX.Element;
|
|
||||||
createDropdownInput: (name: string, label: string, options: Map<number, string>, required?: boolean) => JSX.Element;
|
|
||||||
createCheckboxInput: (name: string, label: string, options: Map<number, string>, required?: boolean) => JSX.Element;
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user