reactjs - 我想为选项添加不同的颜色以在 react-big-calendar 中显示更多链接
解决方案
您可以将消息道具用于日历组件。
<Calendar
...other props
messages={{
...other messages
showMore: (total) => (<span style={{color: 'red'}}>+{total} more</span>)
}}
/>
推荐阅读
- python - Sum values per key from csv file
- python - 如何确保在 numpy 中不进行单例扩展
- c++17 - 解析不带引号的字符串时应用 to_upper
- node.js - google cloud build - functions@: The engine "node" is incompatible with this module. Expected version "10"
- ios - 使用在任何超级视图上开始的触摸识别触摸
- java - 使用扫描仪从 txt 文件中读取字符并添加到二维数组
- split - How to split combined data while keeping data in same order?
- python - How is literal_eval() here is helping to fix the error?
- android - Why is writing to firebase database not executed?
- selenium - Despite using Explicit wait TimeoutException Error