Answer the question
In order to leave comments, you need to log in
How to color a day on a calendar?
I'm using https://github.com/wix/react-native-calendars (React native calendars)
I need to make some days have a colorful background. For example half blue half green.
How to implement it? In customstyles, you can set a color, but only one, there will be no gradient.
Answer the question
In order to leave comments, you need to log in
I screwed up with the class names, but here is
https://jsfiddle.net/zy3v2ght/2/
Set a vertical stick through position:absolute and an offset from the left edge. And I think it's clear how to calculate the offset. I think this is the simplest and most logical option.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question