CaioQuirinoMedeiros / react-native-currency-input

A simple currency input component for both iOS and Android
https://www.npmjs.com/package/react-native-currency-input
MIT License
158 stars 25 forks source link

TextInput color text doesn't change #31

Closed skibaalex closed 1 year ago

skibaalex commented 1 year ago

When I try to change the color of the InputText the color of the text doesn't change on android.

<CurrencyInput
              value={value}
              style={{color: '#000'}}
              onChangeValue={setValue}
              prefix="$"
              delimiter="."
              separator="."
              precision={2}
              minValue={0}
            />,
skibaalex commented 1 year ago

My problem was that the height on the component was set to 0 on android.