Public function

Signature
function TldrawUiMenuContextProvider({
  type,
  sourceId,
  children,
}: TLUiMenuContextProviderProps): import('react/jsx-runtime').JSX.Element
Parameters
NameDescription

{ type, sourceId, children, }

TLUiMenuContextProviderProps
Returns
import('react/jsx-runtime').JSX.Element
References

TLUiMenuContextProviderProps

Source

packages/tldraw/src/lib/ui/components/primitives/menus/TldrawUiMenuContext.tsx

TldrawUiMenuCheckboxItemTldrawUiMenuGroup