Interface ContextMenuProps

interface ContextMenuProps {
    children: ReactElement<any, string | JSXElementConstructor<any>>;
    createPopupPanel?: ((props) => ReactNode);
    label?: string;
    parentFloat?: FloatReference;
    popperProps?: Partial<ExhibitPopperProps>;
    sx?: SxProps<Theme>;
}

Hierarchy (view full)

Properties

children: ReactElement<any, string | JSXElementConstructor<any>>
createPopupPanel?: ((props) => ReactNode)

Type declaration

label?: string

Use for float reference

parentFloat?: FloatReference
popperProps?: Partial<ExhibitPopperProps>

Passed to the underlying popup panel

sx?: SxProps<Theme>

MUI SX props