DotColor Changed to Color

master
Pedram Keshavarzi 3 years ago
parent b6790d0e04
commit 30af3a534d
  1. 2
      src/components/Calendar/CalendarComponents/components/DaysList.js
  2. 2
      src/components/Calendar/index.js

@ -261,7 +261,7 @@ const DaysList = ({
return events.map((e) => { return events.map((e) => {
if (sDay == e.day && sMonth == e.month && sYear == e.year) { if (sDay == e.day && sMonth == e.month && sYear == e.year) {
return <span key={'dot' + e.id} style={{ return <span key={'dot' + e.id} style={{
color: e.dotColor color: e.color
}}>.</span>; }}>.</span>;
} }

@ -55,7 +55,7 @@ const eventsList = [
year: 1400, year: 1400,
month: 10, month: 10,
day: 3, day: 3,
dotColor: 'blue' color: 'blue'
}, },
{ {
id: 4, id: 4,

Loading…
Cancel
Save