如何为React-Native-Nect-Checkbox库设置背景颜色
我如何为复选框库设置背景彩色 https://github.com /react-native-native-checkbox/react-native-native-checkbox ?
我将iOS用作平台。
感谢您的帮助!
How can i set the background-color for checkboxes library https://github.com/react-native-checkbox/react-native-checkbox?
I use iOS as a platform.
Thank you for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
tintcolor
prop在复选框关闭时设置框的颜色。使用
OnCheckColor
Prop在打开时设置复选标记的颜色。使用
onfillcolor
prop在打开时设置框内部的颜色。使用
ontintColor
在框打开时围绕框的颜色prop。上述道具的价值将是颜色的十六进制值。
例如
use
tintColor
prop to set color of the box when the checkbox is Off.use
onCheckColor
prop to set color of the check mark when it is On.use
onFillColor
prop to set color of the inside of the box when it is On.use
onTintColor
prop to The color of the line around the box when it is On.the value of above mentioned props will be hexadecimal value of color.
For example