Public function

Signature
function useTLStore(
  opts: TLStoreOptions & {
    snapshot?: StoreSnapshot<TLRecord>
  }
): import('@tldraw/tlschema').TLStore
Parameters
NameDescription

opts

TLStoreOptions & {
  snapshot?: StoreSnapshot<TLRecord>
}
Returns
import('@tldraw/tlschema').TLStore
References

TLStoreOptions, StoreSnapshot, TLRecord, TLStore

Source

packages/editor/src/lib/hooks/useTLStore.ts

useSelectionEventsuseTransform