TldrawProps
Public typealias
Signature
type TldrawProps = Expand<
(Omit<TldrawUiProps, 'components'> &
Omit<TldrawEditorBaseProps, 'components'> & {
components?: TLComponents
}) &
Partial<TLExternalContentProps> &
(
| {
store: TLStore | TLStoreWithStatus
}
| {
store?: undefined
persistenceKey?: string
sessionId?: string
defaultName?: string
snapshot?: StoreSnapshot<TLRecord>
}
)
>
References
TldrawUiProps, TldrawEditorBaseProps, TLComponents, TLStore, TLStoreWithStatus, StoreSnapshot, TLRecord
Source