We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63dac13 commit 165e709Copy full SHA for 165e709
packages/core/src/components/NumberInput.tsx
@@ -1,6 +1,7 @@
1
import React, { useEffect, useState } from "react";
2
-import { TextInput as NativeTextInput } from "react-native";
3
import { isString, isNumber, isNaN } from "lodash";
+import { TextInput as TextInputRefType } from "react-native";
4
+import NativeTextInput from "./TextInput";
5
import { TextInputProps } from "./TextInput";
6
import { useDebounce, useOnUpdate } from "../hooks";
7
@@ -15,7 +16,7 @@ interface Props
15
16
onChangeTextDelayed?: (value?: number) => void;
17
}
18
-const NumberInput = React.forwardRef<NativeTextInput, Props>(
19
+const NumberInput = React.forwardRef<TextInputRefType, Props>(
20
(
21
{
22
onChangeText,
0 commit comments