TLLibraryThumbnail

See source code

An item's preview: one image for every colour mode, or a light and a dark one for apps that have both. Src is what names each image: an asset id on a stored item, a URL on a listed one, a Blob when adding one.

type TLLibraryThumbnail<Src = string> =
  | {
      dark: Src;
      light: Src;
    }
  | Src;
Prev
TLLibraryRecord
Next
TLLineShape