【文件属性】:
文件名称:react-native-slideable-calendar-strip:自定义库
文件大小:507KB
文件格式:ZIP
更新时间:2021-02-19 18:42:54
JavaScript
React本机可滑动日历条
特征
支持下拉手势
支持今天
支持支持标记的日期
支持中国农历
支持今年的当前一周(W21)
支持Date和日期字符串('2018-01-01')类型
支持定制的一周开始
如何使用
安装包:
npm install --save react-native-slideable-calendar-strip
# or
yarn add react-native-slideable-calendar-strip
导入到您的应用程序:
import CalendarStrip from 'react-native-slideable-calendar-strip';
使用组件:
<CalendarStrip
isChinese
showWeekNumber
showChineseLunar
selectedDate={this.state.s