Public function

A helper for creating a TLStore. Custom shapes cannot override default shapes.

Signature
function createTLStore({
  initialData,
  defaultName,
  ...rest
}: TLStoreOptions): TLStore
Parameters
NameDescription

{ initialData, defaultName, ...rest }

TLStoreOptions
Returns
TLStore
References

TLStoreOptions, TLStore

Source

packages/editor/src/lib/config/createTLStore.ts

createSessionStateSnapshotSignalcreateTLUser