From d99629517dfb681f49c348100c37311131777677 Mon Sep 17 00:00:00 2001 From: Ziad Beyens Date: Sun, 1 Dec 2019 16:45:18 +0100 Subject: [PATCH] fix: ts error (#3180) autoFocus was not an allowed property --- packages/slate-react/src/components/editable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/slate-react/src/components/editable.tsx b/packages/slate-react/src/components/editable.tsx index 7ec3082ea..98414bbe1 100644 --- a/packages/slate-react/src/components/editable.tsx +++ b/packages/slate-react/src/components/editable.tsx @@ -47,7 +47,7 @@ export const Editable = ( renderDecoration?: (props: CustomDecorationProps) => JSX.Element renderElement?: (props: CustomElementProps) => JSX.Element renderMark?: (props: CustomMarkProps) => JSX.Element - } & React.HTMLAttributes + } & React.TextareaHTMLAttributes ) => { const { decorate = defaultDecorate,