我正在考虑使用一些双箭头,允许年份滚动类似于滚动月份。关于如何实现主要目标的其他想法非常受欢迎。
答案 0 :(得分:0)
只需将此代码添加到您的反应日历中:
How many test scores are you entering?
3
Enter test score #1
100
Enter test score #2
100
Enter test score #3
100
Sum = 300.0 Average = 100.0
答案 1 :(得分:0)
您可以查看this example。您需要传递showMonthDropdown
和showYearDropdown
,以使DatePicker显示年份和月份的选择下拉列表。