有没有办法为 React Native 中 TextInput 的 placeholder
设置 fontStyle: 'italic'
only?
寻找 here at the documentation好像只能设置占位符和占位符TextColor。
最佳答案
您可以使用 placeholderTextColor
属性设置占位符颜色。
<TextInput placeholderTextColor={'red'} />
关于android - 如何在 React Native 中更改 TextInput 占位符的样式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35581548/