Type alias onRenderOidcComponentFn
onRenderOidcComponentFn: ((defaultComponent: HTMLElement, componentType: "oidcButton", provider: string, handleClick: (() => Promise<void>), id: string, url: string) => HTMLElement | undefined)
Type declaration
-
- (defaultComponent: HTMLElement, componentType: "oidcButton", provider: string, handleClick: (() => Promise<void>), id: string, url: string): HTMLElement | undefined
-
Parameters
-
defaultComponent: HTMLElement
-
componentType: "oidcButton"
-
provider: string
-
handleClick: (() => Promise<void>)
-
- (): Promise<void>
-
Returns Promise<void>
-
id: string
-
url: string
Returns HTMLElement | undefined