TLStoreProps

See source code
Table of contents
interface TLStoreProps {}

Properties

assets

assets: Required<TLAssetStore>

collaboration

optional
collaboration?: {
  mode?: null | Signal<'readonly' | 'readwrite'>
  status: null | Signal<'offline' | 'online'>
}

defaultName

defaultName: string

Methods

onMount

Called an Editor connected to this store is mounted.

Parameters

NameDescription

editor

unknown

Returns

(() => void) | void

Prev
TLScribble
Next
TLTextShapeProps