Table of contents

Properties

Extends TldrawUiContextProviderProps.

assetUrls

Asset URL override.

assetUrls?: TLUiAssetUrlOverrides

children

The component's children.

children?: ReactNode

components

Overrides for the UI components.

components?: TLUiComponents

forceMobile

from TldrawUiContextProviderProps

Whether to always should the mobile breakpoints.

forceMobile?: boolean

hideUi

Whether to hide the user interface and only display the canvas.

hideUi?: boolean

onUiEvent

from TldrawUiContextProviderProps

Callback for when an event occurs in the UI.

onUiEvent?: TLUiEventHandler

overrides

from TldrawUiContextProviderProps

Overrides for the UI.

overrides?: TLUiOverrides | TLUiOverrides[]

renderDebugMenuItems

Additional items to add to the debug menu (will be deprecated)

renderDebugMenuItems?: () => React.ReactNode

TldrawShapeIndicatorsTldrawUiButton