Type Alias: ExtensionConfigComponentLoader<TConfig>
Makaio Framework / contracts/extension / ExtensionConfigComponentLoader
Type Alias: ExtensionConfigComponentLoader<TConfig>
Section titled “Type Alias: ExtensionConfigComponentLoader<TConfig>”ExtensionConfigComponentLoader<
TConfig> = () =>Promise<{default:ComponentType<ExtensionConfigComponentProps<TConfig>>; }>
Defined in: ../../../packages/contracts/src/extension/contributions/web-ui-types.ts:159
Async loader for a custom extension configuration component.
Must return a module with a default export of a React component that accepts ExtensionConfigComponentProps.
Type Parameters
Section titled “Type Parameters”TConfig
Section titled “TConfig”TConfig = unknown
Extension configuration type.
Returns
Section titled “Returns”Promise<{ default: ComponentType<ExtensionConfigComponentProps<TConfig>>; }>
Type Composition
Section titled “Type Composition”ExtensionConfigComponentLoader() => Promise<{ default: ComponentType<ExtensionConfigComponentProps<TConfig>>; }>