react-native - 如何在本机反应中实现以下设计?
问题描述
我有点卡在这里,在我的一个应用程序中实现以下设计。
图片
我的代码在这里,
<View style={{flex: 1, backgroundColor: '#fff', alignItems: 'center'}}>
<View style={{backgroundColor: colors.green, width: '100%', height: '40%', borderBottomLeftRadius: 100, borderBottomRightRadius: 100}}>
</View>
</View>
是否可以通过使用 react native svg 来完成这项工作?
任何帮助,将不胜感激。
解决方案
推荐阅读
- docker - Bundler::GemNotFound:在任何源中都找不到 rake-12.3.2
- python - django-puppeteer-pdf 静态文件
- php - 在不按提交的情况下获取 php 中的选定选项
- c# - 使用调平机制隐藏按钮?
- python - 如何设置 QGraphicsView 的背景图片?
- android - 如何修复“被 Play Protect 屏蔽/此应用可能有害”
- ansible - 如何使用 ansible playbook 在开始时添加空格
- python - 组合具有相似值的 django 查询集对象
- c - 如何在此代码回文问题中修复这些错误以判断它是奇数还是偶数
- amazon-web-services - 在 Lambda 函数上设置持续时间警报的最佳值