Optional
context: anyconst [referenceElement, setReferenceElement] = useState<HTMLElement>();
<div ref={setReferenceElement as React.LegacyRef<HTMLDivElement>}>
<InlineMenu
referenceElement={referenceElement}
actions={[{ label: 'Action Label', onActionSelected={actionSelectedHandler} }]}
/>
</div>
Generated using TypeDoc
Renders an actions context menu.