We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b5e69 commit 922ec8dCopy full SHA for 922ec8d
src/calendar/day/period/index.js
@@ -58,9 +58,9 @@ class Day extends Component {
58
if (!marking) {
59
return defaultStyle;
60
}
61
- if (this.props.marking.disabled) {
+ if (marking.disabled) {
62
defaultStyle.textStyle.color = this.theme.textDisabledColor;
63
- } else if (this.props.marking.selected) {
+ } else if (marking.selected) {
64
defaultStyle.textStyle.color = this.theme.selectedDayTextColor;
65
66
const resultStyle = ([marking]).reduce((prev, next) => {
0 commit comments