createTLStore

See source code

A helper for creating a TLStore.

function createTLStore({
  initialData,
  defaultName,
  id,
  assets,
  onMount,
  collaboration,
  ...rest
}?: TLStoreOptions): TLStore

Parameters

NameDescription

{ initialData, defaultName, id, assets, onMount, collaboration, ...rest }

Returns

Prev
createTLSchemaFromUtils
Next
createTLUser