React native 花色苷=';透明';不适用于本机基本输入字段?

React native 花色苷=';透明';不适用于本机基本输入字段?,react-native,native-base,React Native,Native Base,UnderlineColandroid道具不工作。输入字段仍存在灰色下划线 <Item style='name_input_container'> <Input style={styles.name_input} autoCorrect={false} placeholder='Enter name' selectionColor='#ffa500' textAlign={'center'} underlineColorAndroid: 'transp

UnderlineColandroid道具不工作。输入字段仍存在灰色下划线

<Item style='name_input_container'>
  <Input style={styles.name_input}
  autoCorrect={false} 
  placeholder='Enter name'
  selectionColor='#ffa500'
  textAlign={'center'}
  underlineColorAndroid: 'transparent'
  />
</Item>

underlineColorAndroid:'transparent'
更改为
underlineColorAndroid='transparent'
,因此最终输出如下:

<Item style='name_input_container'>
  <Input style={styles.name_input}
  autoCorrect={false} 
  placeholder='Enter name'
  selectionColor='#ffa500'
  textAlign={'center'}
  underlineColorAndroid='transparent'
  />
</Item>


我还使用underlineColorAndroid='transparent'运行了代码。您使用的是本机基本输入还是react本机输入component@Zeeshan安萨里我用的是土生土长的蛇你说蛇是什么意思?是蛇壳,即下划线\颜色\安卓?