TldrawUiProps
Table of contents
Extends TldrawUiContextProviderProps
.
interface TldrawUiProps extends TldrawUiContextProviderProps {}
Properties
Asset URL override.
assetUrls?: TLUiAssetUrlOverrides
The component's children.
children?: ReactNode
Overrides for the UI components.
components?: TLUiComponents
Whether to always should the mobile breakpoints.
forceMobile?: boolean
Whether to hide the user interface and only display the canvas.
hideUi?: boolean
Callback for when an event occurs in the UI.
onUiEvent?: TLUiEventHandler
Overrides for the UI.
overrides?: TLUiOverrides | TLUiOverrides[]
Additional items to add to the debug menu (will be deprecated)
renderDebugMenuItems?: () => React.ReactNode