1
0
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:
Sunny Hirai
2024-12-30 20:09:52 -08:00
parent 2c9cc3cd81
commit aecc957a9e

View File

@@ -12,6 +12,8 @@ type SlateProps = {
value: Descendant[]
children: React.ReactNode
onChange?: (value: Descendant[]) => void
onSelectionChange?: (selection: Selection) => void
onValueChange?: (value: Descendant[]) => void
}
```