Skip to content

Refactor interactive marking to period marking

Choose a tag to compare

@tautvilas tautvilas released this 16 Nov 11:36
· 2173 commits to master since this release

Breaking changes:

Interactive marking now is called 'period' marking and structure of marking has become more nested:

   markedDates={
    {'2012-05-20': {periods: [{textColor: 'green'}]},
     '2012-05-22': {periods: [{startingDay: true, color: 'green'}]},
     '2012-05-23': {periods: [{endingDay: true, color: 'green', textColor: 'gray'}]},
     '2012-05-04': {disabled: true, periods: [{startingDay: true, color: 'green'}, {endingDay: true, color: 'green'}]}
    }}