Skip to main content

Type Alias: ITypedMyopComponent<TDataType, TPayloads>

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

Defined in: types.ts:71

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>