reactjs - 如何在 React Native 中添加卡片(最小尺寸的最佳方法)
问题描述
我正在学习本机反应。当我在 React native 中搜索 Card 时,我很困惑,因为有很多卡片库。
就一个问题,你们喜欢什么。当您需要CardView
具有最小尺寸和最佳控件的 React Native 时。
https://react-native-training.github.io/react-native-elements/docs/card.html
https://github.com/dale-french/react-native-cards
解决方案
我建议您创建自己的,或者您可以使用 native-base 的卡组件... nativa-base 链接是http://docs.nativebase.io/Components.html#card-image-headref
推荐阅读
- sql - 在 SQL 中获取记录位置
- python - 覆盖方法时,说明(不相关)参数的首选方式是什么?
- go - 在 Go 中将数据结构解组回 YAML 时,是否可以保留锚点、注释和引用?
- ios - 加速转场和放松转场
- r - R 中有没有办法确定变量中的哪些级别在 GBM 预测模型中最重要?
- postgresql - 如何将值从触发前传递到触发后
- android - Ionic 4:安装本机 facebook 应用程序时,使用 android 登录 facebook 失败
- c# - C# 错误:未处理的异常 System.FormatException:输入字符串的格式不正确
- r - 如何根据 R 中的数据框生成多个数字系列?
- python - 将字符串列表转换为具有重复键的字典