• Renders an actions context menu.

    Parameters

    Returns null | ReactElement<any, any>

    Example

    const [referenceElement, setReferenceElement] = useState<HTMLElement>();
    <div ref={setReferenceElement as React.LegacyRef<HTMLDivElement>}>
    <InlineMenu
    referenceElement={referenceElement}
    actions={[{ label: 'Action Label', onActionSelected={actionSelectedHandler} }]}
    />
    </div>

Generated using TypeDoc