• Creates a single instance given the type and import function

    Type Parameters

    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: P
        • Optional options: LazyWindowOptions

        Returns void