Public typealias

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

TldrawUiProps, TldrawEditorBaseProps, TLComponents, StoreSnapshot, TLRecord, MigrationSequence, TLStore, TLStoreWithStatus

Source

packages/tldraw/src/lib/Tldraw.tsx

TldrawImagePropsTldrawScribble