TLUiAssetUrls

See source code
Table of contents

Extends TLEditorAssetUrls.

interface TLUiAssetUrls extends TLEditorAssetUrls {}

Properties

embedIcons

embedIcons: Partial<
  Record<(typeof DEFAULT_EMBED_DEFINITIONS)[number]["type"], string>
>;

fonts

optional
fonts?: {
  [key: string]: string | undefined;
  tldraw_draw_bold?: string;
  tldraw_draw_italic_bold?: string;
  tldraw_draw_italic?: string;
  tldraw_draw?: string;
  tldraw_mono_bold?: string;
  tldraw_mono_italic_bold?: string;
  tldraw_mono_italic?: string;
  tldraw_mono?: string;
  tldraw_sans_bold?: string;
  tldraw_sans_italic_bold?: string;
  tldraw_sans_italic?: string;
  tldraw_sans?: string;
  tldraw_serif_bold?: string;
  tldraw_serif_italic_bold?: string;
  tldraw_serif_italic?: string;
  tldraw_serif?: string;
};

icons

icons: Record<Exclude<string, TLUiIconType> | TLUiIconType, string>;

translations

translations: Record<(typeof LANGUAGES)[number]["locale"], string>;

Prev
TLUiActionsMenuProps
Next
TLUiButtonCheckProps