Public typealias

Signature
type TldrawProps = TldrawEditorBaseProps &
  (
    | {
        store: TLStore | TLStoreWithStatus
      }
    | {
        store?: undefined
        persistenceKey?: string
        sessionId?: string
        defaultName?: string
        snapshot?: StoreSnapshot<TLRecord>
      }
  ) &
  TldrawUiProps &
  Partial<TLExternalContentProps>
References

TldrawEditorBaseProps, TLStore, TLStoreWithStatus, StoreSnapshot, TLRecord, TldrawUiProps

Source

packages/tldraw/src/lib/Tldraw.tsx

TldrawHoveredShapeIndicatorTldrawScribble