yamankatby / react-native-material

Modular and customizable Material Design UI components for React Native
https://rn-material.js.org
MIT License
228 stars 38 forks source link

How to change border radius on TextInput #57

Open 4rchive7 opened 1 year ago

4rchive7 commented 1 year ago

I tried to change border radius of TextInput using inputContainerStyle. I doesn't work. I also tried props style but it also failed. Is it possible to change border radius of TextInput?

    <TextInput
    variant="outlined"
    inputContainerStyle={{
            borderRadius: 10,
        }}
    />
yamankatby commented 1 year ago

Hey @4rchive7,

Thank you for filing this issue, I'll investigate this and keep you informed.

kevinjoel commented 1 year ago

Any update here?

ashhusen97 commented 3 months ago

I successfully achieved this by modifying textinput.tsx file in src folder of node module add border radius in styles.outline and then patch the package