Table of contents

Properties

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