Adding an optional prop to specify the input component to render would be a super nice addition to use any input out there, like the one from React Native Elements:
Seems like a small change that would allow several uses cases for integration with other UI libraries.
import View from "react-native";
import CurrencyInput from "react-native-currency-input";
import { Input } from "@rneui/themed";
function MyComponent() {
return (
<View>
<CurrencyInput
prefix="$ "
onBlur={onBlur}
onChangeValue={onChange}
value={value}
style={styles.input}
inputComponent={Input}
/>
</View>
);
}
Adding an optional prop to specify the input component to render would be a super nice addition to use any input out there, like the one from React Native Elements:
Seems like a small change that would allow several uses cases for integration with other UI libraries.