Skip to main content

Type Alias: ITypedMyopComponent<TDataType, TPayloads>

ITypedMyopComponent<TDataType, TPayloads>: Omit<IMyopComponent, "props"> & object

Defined in: src/types.ts:69

Typed Myop component interface with typed props. Use this type for the component returned in load event.

Type declaration

props

props: IMyopComponentProps<TDataType, TPayloads> | null

Typed props for the component

Type Parameters

TDataType = any

TPayloads extends Record<string, any> = Record<string, any>