Type alias onRenderSubmitFormComponentFn
onRenderSubmitFormComponentFn: ((defaultComponent: HTMLElement, componentType: "form", formComponentType: "submit", handleClick: (() => Promise<void>), label: string, context: any) => HTMLElement | undefined)
Type declaration
-
- (defaultComponent: HTMLElement, componentType: "form", formComponentType: "submit", handleClick: (() => Promise<void>), label: string, context: any): HTMLElement | undefined
-
Parameters
-
defaultComponent: HTMLElement
-
componentType: "form"
-
formComponentType: "submit"
-
handleClick: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
label: string
-
context: any
Returns HTMLElement | undefined