diff --git a/src/calendar.jsx b/src/calendar.jsx index 22b592fd3..4973477ab 100644 --- a/src/calendar.jsx +++ b/src/calendar.jsx @@ -125,15 +125,6 @@ export default class Calendar extends React.Component { }; } - static get defaultProps() { - return { - onDropdownFocus: () => {}, - monthsShown: 1, - forceShowMonthNavigation: false, - timeCaption: 'Time' - }; - } - constructor(props) { super(props); @@ -286,7 +277,7 @@ export default class Calendar extends React.Component { const dayNames = []; if (this.props.showWeekNumbers) { dayNames.push( -
+
{this.props.weekLabel || '#'}
); @@ -296,7 +287,7 @@ export default class Calendar extends React.Component { const day = addDays(startOfWeek, offset); const weekDayName = this.formatWeekday(day, this.props.locale); return ( -
+
{weekDayName}
); @@ -346,7 +337,7 @@ export default class Calendar extends React.Component { return (