react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

How to style Timeline event card?

Open syahirdev opened this issue 3 years ago • 0 comments

How can I implement style to the event card, like the background color or text color of the content itself? For now, I'm limited to only being able to change the background color set on the TimelineList events.

For example, color: "#dbeafe"

let eventMap = activities.map((activity) => ( {
        id: activity._id,
        start: activity.plannedFrom,
        end: activity.plannedTo,
        title: activity.customer,
        summary: activity.customType,
        color: "#dbeafe"
      } ));
      setEvents(groupBy(eventMap, e => CalendarUtils.getCalendarDateString(e.start)));

image

syahirdev avatar Sep 01 '22 10:09 syahirdev