添加圆形属性的React-native-elements将背景变为黑色

问题描述

我做错了什么?这是代码

           <ListItem
                leftAvatar={
                    <Avatar
                        rounded
                        Component={View}
                        overlayContainerStyle={{backgroundColor:'blue'}}
                        size="medium"
                        title="IV"
                        activeOpacity={0.7}
                    />
                }
                title='4 level'
                rightElement={
                    <Icon
                        name='check'
                        color='#000'
                        size={26}/>
                }
                subtitle='some number'
                bottomDivider
            />

这是我所拥有的

black background avatar

如何更改头像的背景颜色? 有趣的事实是,没有舍入属性,可以轻松更改它

blue background avatar

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)