mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-07 07:46:32 +02:00
Improve docs for Slate Component
This commit is contained in:
@@ -12,6 +12,8 @@ type SlateProps = {
|
||||
value: Descendant[]
|
||||
children: React.ReactNode
|
||||
onChange?: (value: Descendant[]) => void
|
||||
onSelectionChange?: (selection: Selection) => void
|
||||
onValueChange?: (value: Descendant[]) => void
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user