【发布时间】:2017-12-18 03:33:01
【问题描述】:
我正在为 android 和 ios 做 react-native 的移动应用程序。 在我的项目中,我使用的是 TextInput Component(ios)。该组件不带下划线。如何在 ios 中使用带有下划线颜色的 TextInput。
代码示例 -
<TextInput
ref={'cardbatch1'}
keyboardType = 'numeric'
placeholder = 'Batch Number'
autoCapitalize = 'none'
/>
【问题讨论】:
-
请提供最小的工作示例。
标签: ios react-native underline