TldrawImageProps
Table of contents
Extends TLSvgOptions.
interface TldrawImageProps extends TLSvgOptions {}
Properties
from
TLSvgOptionsbackground?: boolean
Additional binding utils to use.
bindingUtils?: readonly TLAnyBindingUtilConstructor[]
from
TLSvgOptionsbounds?: Box
from
TLSvgOptionsdarkMode?: boolean
The image format to use. Defaults to 'svg'.
format?: 'png' | 'svg'
The license key.
licenseKey?: string
from
TLSvgOptionspadding?: number
The page to display. Defaults to the first page.
pageId?: TLPageId
from
TLSvgOptionspreserveAspectRatio?: React.SVGAttributes<SVGSVGElement>['preserveAspectRatio']
from
TLSvgOptionsscale?: number
Additional shape utils to use.
shapeUtils?: readonly TLAnyShapeUtilConstructor[]
The snapshot to display.
snapshot: Partial<TLEditorSnapshot> | TLStoreSnapshot

