Returns ((type, importFunc, props?, options?) => void)
This relays on the onHide prop working
- (type, importFunc, props?, options?): void
Parameters
- type: string
- importFunc: (() => Promise<{
default: any;
}>)- (): Promise<{
default: any;
}> Returns Promise<{
default: any;
}>
Optional
props: POptional
options: LazyWindowOptions
Returns void
Creates a single instance given the type and import function