TldrawUi
See source codeTable of contents
Properties
Extends TLUiContextProviderProps.
assetUrls
optional
Asset URL override.
assetUrls?: TLUiAssetUrlOverrideschildren
optional
The component's children.
children?: ReactNodecomponents
optional
Overrides for the UI components.
components?: TLUiComponentsforceMobile
optional
Whether to always should the mobile breakpoints.
forceMobile?: booleanhideUi
optional
Whether to hide the user interface and only display the canvas.
hideUi?: booleanmediaMimeTypes
optional
Supported mime types for media files.
mediaMimeTypes?: string[]onUiEvent
optional
Callback for when an event occurs in the UI.
onUiEvent?: TLUiEventHandleroverrides
optional
Overrides for the UI.
overrides?: TLUiOverrides | TLUiOverrides[]renderDebugMenuItems
optional
Additional items to add to the debug menu (will be deprecated)
Prev
TldrawShapeIndicatorsNext
TldrawUiA11yProvider