TldrawUiProps

See source code
Table of contents

Extends Omit<TLUiContextProviderProps, 'locale'>.

interface TldrawUiProps extends Omit<TLUiContextProviderProps, "locale"> {}

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;

hideUi

optional

Whether to hide the user interface and only display the canvas.

hideUi?: boolean;

Methods

renderDebugMenuItems

optional

Additional items to add to the debug menu (will be deprecated)


Prev
TldrawUiOrientationProviderProps
Next
TldrawUiShowTooltipsProviderProps