本项目基于 30 Days of React Native 开源项目
使用 React Navigation 进行导航
- npm install @react-navigation/native
首页 轮播图
- npm i react-native-swiper --save
使用 Icon
- 对应图标 (icon)
计时器
- Platform API 判断 app 当前运行的平台
天气预报
- StatusBar 控制应用状态栏的组件。
推特
-
动画 Api Animated
使用 react native api PanResponder PanResponder 类可以将多点触摸操作协调成一个手势。它使得一个单点触摸可以接受更多的触摸操作,也可以用于识别简单的多点触摸手势。
使用 react native TouchableWithoutFeedback
轮播图卡片 react-native-swipe-cards
时间组件 React Native DateTimePicker
模糊查询组件 fuzzy