@dxos/react-ui
    Preparing search index...
    ContentProps: ThemedClassName<DialogPrimitive.ContentProps> & {
        closeOnInteractOutside?: boolean;
        container?: RefObject<HTMLElement | null>;
        placement?: Placement;
        scrim?: boolean;
        size?: Size;
    }

    Type declaration

    • OptionalcloseOnInteractOutside?: boolean

      false keeps the dialog open on a click outside, e.g. while it holds unsaved input; Escape still closes it.

    • Optionalcontainer?: RefObject<HTMLElement | null>

      Portals into this element instead of the body (e.g. a sized scope, AUDIT 2.2).

    • Optionalplacement?: Placement

      end docks the dialog at the viewport's block end (e.g. a chat panel) and start hangs it from the top (e.g. a picker whose list grows downward) instead of centring it; the Root's placement otherwise.

    • Optionalscrim?: boolean

      false drops the scrim and lets pointer events through around the dialog, for a non-modal (modal={false}) dialog that leaves the page usable.

    • Optionalsize?: Size

      Overrides the size inherited from the trigger's nearest sized ancestor (Phase 4 decision 2); md without one.