Public function

Signature
function useTldrawUiComponents(): Partial<{
  ActionsMenu: ComponentType<TLUiActionsMenuProps> | null
  ContextMenu: ComponentType<TLUiContextMenuProps> | null
  DebugMenu: ComponentType | null
  DebugPanel: ComponentType | null
  HelperButtons: ComponentType<TLUiHelperButtonsProps> | null
  HelpMenu: ComponentType<TLUiHelpMenuProps> | null
  KeyboardShortcutsDialog: ComponentType<TLUiKeyboardShortcutsDialogProps> | null
  MainMenu: ComponentType<TLUiMainMenuProps> | null
  MenuPanel: ComponentType | null
  Minimap: ComponentType | null
  NavigationPanel: ComponentType | null
  PageMenu: ComponentType | null
  QuickActions: ComponentType<TLUiQuickActionsProps> | null
  SharePanel: ComponentType | null
  StylePanel: ComponentType<TLUiStylePanelProps> | null
  Toolbar: ComponentType | null
  TopPanel: ComponentType | null
  ZoomMenu: ComponentType<TLUiZoomMenuProps> | null
}>
References

TLUiActionsMenuProps, TLUiContextMenuProps, TLUiHelperButtonsProps, TLUiHelpMenuProps, TLUiKeyboardShortcutsDialogProps, TLUiMainMenuProps, TLUiQuickActionsProps, TLUiStylePanelProps, TLUiZoomMenuProps

Source

packages/tldraw/src/lib/ui/context/components.tsx

useRelevantStylesuseToasts