Table of contents

Public interface

Props for the Tldraw and TldrawUi components.

Signature
interface TldrawUiContextProviderProps {}
Source

packages/tldraw/src/lib/ui/TldrawUiContextProvider.tsx


Properties

assetUrls

Public propertysignature

Urls for where to find fonts and other assets for the UI.

Signature
assetUrls?: RecursivePartial<TLUiAssetUrls>

children

Public propertysignature

The component's children.

Signature
children?: any

forceMobile

Public propertysignature

Whether to always should the mobile breakpoints.

Signature
forceMobile?: boolean

onUiEvent

Public propertysignature

Callback for when an event occurs in the UI.

Signature
onUiEvent?: TLUiEventHandler
References

TLUiEventHandler


overrides

Public propertysignature

Overrides for the UI.

Signature
overrides?: TLUiOverrides | TLUiOverrides[]
References

TLUiOverrides


TldrawUiContextProviderTldrawUiProps