diff --git a/src/MarkdownTextInput.web.tsx b/src/MarkdownTextInput.web.tsx index e0dbecc8..185b4f12 100644 --- a/src/MarkdownTextInput.web.tsx +++ b/src/MarkdownTextInput.web.tsx @@ -40,6 +40,8 @@ interface MarkdownNativeEvent extends Event { inputType: string; } +type MarkdownTextInput = TextInput & React.Component; + type Selection = { start: number; end: number; @@ -68,7 +70,7 @@ type HTMLMarkdownElement = HTMLElement & { value: string; }; -const MarkdownTextInput = React.forwardRef( +const MarkdownTextInput = React.forwardRef( ( { accessibilityLabel,