Public typealias

Signature
type EventsProviderProps = {
  children: React.ReactNode
  onEvent?: TLUiEventHandler
}
References

TLUiEventHandler

Source

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

EraserToolbarItemExampleDialog