TLExternalContent
type TLExternalContent = {
point?: VecLike
sources?: TLExternalContentSource[]
} & (
| {
embed: EmbedDefinition
type: 'embed'
url: string
}
| {
files: File[]
ignoreParent: boolean
type: 'files'
}
| {
text: string
type: 'svg-text'
}
| {
text: string
type: 'text'
}
| {
type: 'url'
url: string
}
)