Learn
Reference
Examples
Learn
Reference
Examples
API Reference
@tldraw/editor
Class
Function
Variable
Interface
TypeAlias
@tldraw/store
Class
Function
Enum
Interface
TypeAlias
@tldraw/sync-core
Class
Interface
TypeAlias
@tldraw/sync
Function
Interface
TypeAlias
tldraw
Class
Function
Variable
Enum
Interface
TypeAlias
Component
@tldraw/tlschema
Class
Function
createAssetValidator
createBindingId
createBindingPropsMigrationIds
createBindingPropsMigrationSequence
createBindingValidator
createPresenceStateDerivation
createShapeId
createShapePropsMigrationIds
createShapePropsMigrationSequence
createShapeValidator
createTLSchema
getDefaultColorTheme
getDefaultTranslationLocale
idValidator
isBinding
isBindingId
isPageId
isShape
isShapeId
Variable
Interface
TypeAlias
@tldraw/validate
Class
TypeAlias
Namespace
Close
API Reference
/
@tldraw/tlschema
createShapeId
function
function
createShapeId
(
id
?:
string
):
TLShapeId
Parameters
Name
Description
id
string
Returns
TLShapeId
createPresenceStateDerivation
createShapePropsMigrationIds