Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题。对于我的 react-native 项目,我使用 react-native-calendars,我需要能够计算日历中选定天数。我阅读了该库的文档,但没有找到解决方案。有谁知道如何做到这一点?
应该有一个可以实现的 onDayPress
<CalendarList onDayPress={(day) => {console.log('push day to array')}} />