mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-19 14:27:07 +01:00
fix: ts (#3217)
This commit is contained in:
parent
687f25df4b
commit
2240ce2274
@ -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
|
||||
}) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user