TldrawUiContextProvider
See source codeTable of contents
Properties
assetUrls
optional
Urls for where to find fonts and other assets for the UI.
assetUrls?: RecursivePartial<TLUiAssetUrls>children
optional
The component's children.
children?: ReactNodecomponents
optional
Overrides for the UI components.
components?: TLUiComponentsforceMobile
optional
Whether to always should the mobile breakpoints.
forceMobile?: 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[]Prev
TldrawUiComponentsProviderNext
TldrawUiContextualToolbar