TldrawUiProps
Table of contents
Extends TLUiContextProviderProps.
interface TldrawUiProps extends TLUiContextProviderProps {}Properties
assetUrls
optional
Asset URL override.
assetUrls?: TLUiAssetUrlOverrides;children
optional
The component's children.
children?: ReactNode;components
optional
Overrides for the UI components.
components?: TLUiComponents;forceMobile
optional
Whether to always should the mobile breakpoints.
forceMobile?: boolean;hideUi
optional
Whether to hide the user interface and only display the canvas.
hideUi?: boolean;mediaMimeTypes
optional
Supported mime types for media files.
mediaMimeTypes?: string[];onUiEvent
optional
Callback for when an event occurs in the UI.
onUiEvent?: TLUiEventHandler;overrides
optional
Overrides for the UI.
overrides?: TLUiOverrides | TLUiOverrides[];Methods
renderDebugMenuItems
optional
Additional items to add to the debug menu (will be deprecated)
Prev
TldrawUiOrientationProviderPropsNext
TldrawUiTooltipProps