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.
2 parents e5b5e69 + 922ec8d commit 1639f0fCopy full SHA for 1639f0f
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