papi-dts
    Preparing search index...
    • Internal

      Shows a modal dialog overlay with any dialog component. Called internally by the dialog service host. Not exposed on PAPI.

      Type Parameters

      • TReturn

      Parameters

      • Component: (props: Record<string, unknown>) => ReactElement

        The dialog React component to render inside the modal shell

      • props: Record<string, unknown>

        Pre-built props for the component (DialogProps + options, already localized)

      • OptionalonOverlayCreated: (overlayId: string) => void
      • OptionalwebViewId: string

        The WebView that initiated the request. Defaults to 'dialog-service'.

      Returns Promise<undefined | TReturn>

      The dialog result, or undefined if dismissed

      PlatformError with code RESOURCE_EXHAUSTED if a duplicate request arrives within the debounce cooldown