1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-20 06:01:24 +02:00

fix: ts error (#3180)

autoFocus was not an allowed property
This commit is contained in:
Ziad Beyens
2019-12-01 16:45:18 +01:00
committed by Ian Storm Taylor
parent b4c15e13c1
commit d99629517d

View File

@@ -47,7 +47,7 @@ export const Editable = (
renderDecoration?: (props: CustomDecorationProps) => JSX.Element renderDecoration?: (props: CustomDecorationProps) => JSX.Element
renderElement?: (props: CustomElementProps) => JSX.Element renderElement?: (props: CustomElementProps) => JSX.Element
renderMark?: (props: CustomMarkProps) => JSX.Element renderMark?: (props: CustomMarkProps) => JSX.Element
} & React.HTMLAttributes<HTMLDivElement> } & React.TextareaHTMLAttributes<HTMLDivElement>
) => { ) => {
const { const {
decorate = defaultDecorate, decorate = defaultDecorate,