useTLStore
function useTLStore(
opts: TLStoreOptions & {
snapshot?: Partial<TLEditorSnapshot> | TLStoreSnapshot
}
): import('@tldraw/tlschema').TLStore
Parameters
| Name | Description |
|---|---|
| |
Returns
import('@tldraw/tlschema').TLStore
function useTLStore(
opts: TLStoreOptions & {
snapshot?: Partial<TLEditorSnapshot> | TLStoreSnapshot
}
): import('@tldraw/tlschema').TLStore
| Name | Description |
|---|---|
| |
import('@tldraw/tlschema').TLStore