React-native-calendars: Can we set background color to today date?

Created on 27 Mar 2020  路  1Comment  路  Source: wix/react-native-calendars

Is there any possibility to add background color, like selected color to today date?

Most helpful comment

Try like this

const today = moment().format('YYYY-MM-DD');

markedDates={{
[today]: { selected: true, selectedColor: 'red' },
}}

>All comments

Try like this

const today = moment().format('YYYY-MM-DD');

markedDates={{
[today]: { selected: true, selectedColor: 'red' },
}}

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dobiedad picture dobiedad  路  4Comments

srichallamalla935 picture srichallamalla935  路  4Comments

nickitatkach picture nickitatkach  路  4Comments

microwin168 picture microwin168  路  4Comments

sonnguyenit picture sonnguyenit  路  3Comments