rili-live / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
42 stars 54 forks source link

Allow removal of the input focus blur outline #39

Open FilipeCosta opened 1 year ago

FilipeCosta commented 1 year ago

At the moment the package works very fine with react-expo-web, I just think we need a bit more flexibility with the props and allow the user to override the styles easier.

I tried to override the input focus-within outline style, but without success (using React native stylesheet and also styled components).

Screenshot 2022-09-01 at 10 44 36

I think it would be a good upgrade to remove the inline styles and maybe transition to react native styled components (@emotion/native), with this we can use styled components in our side to also override the styles.

So for an initial solution I would propose an easier way to override the outline style, and further remove the inline styles and use styled components (I can also contribute and help if you need, since the lib is great)