1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-19 14:27:07 +01:00
This commit is contained in:
Ziad Beyens 2019-12-04 01:11:16 +01:00 committed by Ian Storm Taylor
parent 687f25df4b
commit 2240ce2274

View File

@ -28,7 +28,7 @@ export const SlateContext = createContext<[Editor] | null>(null)
export const Slate = (props: {
editor: Editor
children: JSX.Element | JSX.Element[]
children: React.ReactNode
defaultValue?: Node[]
onChange?: (children: Node[], operations: Operation[]) => void
}) => {