Tldraw
Public function
Signature
function Tldraw(
props: TldrawEditorBaseProps &
(
| {
store: TLStore | TLStoreWithStatus
}
| {
store?: undefined
persistenceKey?: string
sessionId?: string
defaultName?: string
snapshot?: StoreSnapshot<TLRecord>
}
) &
TldrawUiProps &
Partial<TLExternalContentProps> & {
assetUrls?: RecursivePartial<TLEditorAssetUrls>
}
): JSX.Element
Parameters
Name | Description |
---|---|
|
|
Returns
JSX.Element
References
TldrawEditorBaseProps, TLStore, TLStoreWithStatus, StoreSnapshot, TLRecord, TldrawUiProps
Source