【问题标题】:Profile pictures in react dates calendar反应日期日历中的个人资料图片
【发布时间】:2020-09-22 08:29:21
【问题描述】:

大家好

我可以在 react-dates 日历中的特定日子里有图片吗?

【问题讨论】:

    标签: javascript reactjs npm calendar react-dates


    【解决方案1】:

    使用反应日期提供的方法renderDayContents 并呈现您的自定义日期。

    有关更多信息,请查看 reac-dates 文档:https://airbnb.io/react-dates/?path=/story/sdp-day-props--with-custom-daily-details

    【讨论】:

      猜你喜欢
      • 2022-11-16
      • 1970-01-01
      • 2017-09-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多