@dxos/react-ui
    Preparing search index...

    Type Alias ContentProps

    ContentProps: ThemedClassName<MenuPrimitive.ContentProps> & {
        arrow?: boolean;
        columns?: number;
        container?: RefObject<HTMLElement | null>;
        size?: Size;
    }

    Type declaration

    • Optionalarrow?: boolean

      Point at the trigger with an arrow in the popup's surface colour, like Popover's; on by default, off for submenus.

    • Optionalcolumns?: number

      Lays the items out as a grid of square cells, this many to a row (e.g. a palette of swatches).

    • Optionalcontainer?: RefObject<HTMLElement | null>

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

    • Optionalsize?: Size

      The menu's size; md by default (a submenu inherits its parent's).