我正在做一个反应本地应用程序,在其中日历在它。是否可以更改选定日期的风格反应本地日历?
如图所示,我想改变(6/10/2019)的样式,就像图像一样。

有什么办法来改变这个吗?或者我应该为此使用哪个模块?这些都是我知道的与日历相关的模块。
本机日历反应本机日历事件反应本机日历条形反应本机-bpk组件日历反应本机日历选择反应本地日历年反应本机事件日历自定义react-native-calendar-reminders
发布于 2020-08-28 19:26:45
是!下面是一个例子
<Calendar
// Date marking style [simple/period/multi-dot/single]. Default = 'simple'
markingType={'custom'}
markedDates={{
'2018-03-28': {
customStyles: {
container: {
backgroundColor: 'green'
},
text: {
color: 'black',
fontWeight: 'bold'
}
}
},
'2018-03-29': {
customStyles: {
container: {
backgroundColor: 'white',
elevation: 2
},
text: {
color: 'blue'
}
}
}
}}
/>https://stackoverflow.com/questions/63639704
复制相似问题