1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-11 09:43:58 +02:00

missing dependency (#4656)

This commit is contained in:
meri-leeworthy
2021-11-15 20:02:51 +11:00
committed by GitHub
parent 2c7750cac5
commit 5dc9dc5227

View File

@@ -51,7 +51,7 @@ Of course we haven't rendered anything, so you won't see any changes.
```typescript ```typescript
// TypeScript users only add this code // TypeScript users only add this code
import { BaseEditor } from 'slate' import { BaseEditor, Descendant } from 'slate'
import { ReactEditor } from 'slate-react' import { ReactEditor } from 'slate-react'
type CustomElement = { type: 'paragraph'; children: CustomText[] } type CustomElement = { type: 'paragraph'; children: CustomText[] }