Fix `MarkdownTextInput` React ref type
Closed this issue · 0 comments
tomekzaw commented
Currently, MarkdownTextInput
component in example app has a ref
of type TextInput
.
react-native-live-markdown/example/src/App.tsx
Lines 34 to 35 in 5638b54
The objective is to change React ref type from TextInput
to MarkdownTextInput
.
-React.useRef<TextInput>(null);
+React.useRef<MarkdownTextInput>(null);