Public typealias

Signature
type TLUiToolsProviderProps = {
  children: React.ReactNode
  overrides?: (
    editor: Editor,
    tools: TLUiToolsContextType,
    helpers: {
      insertMedia: () => void
    }
  ) => TLUiToolsContextType
}
References

Editor, TLUiToolsContextType

Source

packages/tldraw/src/lib/ui/hooks/useTools.tsx

TLUiToolsContextTypeTLUiTranslation