Practic BUI (Base UI) - v1.0.0
    Preparing search index...
    • Resolves a styled portal's container: an explicit container wins, including null (which Base UI reads as "wait"), and otherwise the nearest PortalContainerProvider applies, leaving Base UI's default when there is none.

      Parameters

      • container:
            | HTMLElement
            | ShadowRoot
            | RefObject<HTMLElement | ShadowRoot | null>
            | null
            | undefined

        The portal's own container prop.

      Returns
          | HTMLElement
          | ShadowRoot
          | RefObject<HTMLElement | ShadowRoot | null>
          | null
          | undefined