We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b78a10 commit 197cad6Copy full SHA for 197cad6
components/vc-calendar/src/calendar/CalendarHeader.jsx
@@ -22,6 +22,7 @@ function showIf(condition, el) {
22
}
23
24
const CalendarHeader = {
25
+ name: 'CalendarHeader',
26
mixins: [BaseMixin],
27
props: {
28
prefixCls: PropTypes.string,
@@ -149,7 +150,7 @@ const CalendarHeader = {
149
150
panel = (
151
<MonthPanel
152
locale={locale}
- defaultValue={value}
153
+ value={value}
154
rootPrefixCls={prefixCls}
155
onSelect={this.onMonthSelect}
156
onYearPanelShow={() => this.showYearPanel('month')}
components/vc-calendar/src/month/MonthPanel.jsx
@@ -12,6 +12,7 @@ function goYear(direction) {
12
function noop() {}
13
14
const MonthPanel = {
15
+ name: 'MonthPanel',
16
17
18
value: PropTypes.any,
0 commit comments