marcocesarato / react-native-input-spinner

An extensible input number spinner component for react-native highly customizable. This component enhance a text input for entering numeric values, with increase and decrease buttons.
https://marcocesarato.github.io/react-native-input-spinner/
GNU General Public License v3.0
414 stars 34 forks source link

how to ovewrite skin props? #67

Open imknight opened 2 years ago

imknight commented 2 years ago

I apply the clean skin but thinking to remove the input shadow, using the shadow={false} doesn't work

agostinhodev commented 1 year ago

Same problem here. Unhappy this property doesn't work.

You must use shadowOpacity as a prop of your style. Ex.:


 <InputSpinner
      ...
       style={{
          shadowOpacity: 0,
      }}
/>

The result will looks like:

Screen Shot 2022-09-19 at 11 59 30