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?: ReactNode
components
optional
Overrides for the UI components.
components?: TLUiComponents
forceMobile
optional
Whether to always should the mobile breakpoints.
forceMobile?: 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[]
Prev
TldrawUiComponentsProviderNext
TldrawUiContextualToolbar