File tree Expand file tree Collapse file tree 7 files changed +37
-159
lines changed Expand file tree Collapse file tree 7 files changed +37
-159
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ export default class MonthDropdown extends React.Component {
5353 renderDropdown = monthNames => (
5454 < WrappedMonthDropdownOptions
5555 key = "dropdown"
56- ref = "options"
5756 month = { this . props . month }
5857 monthNames = { monthNames }
5958 onChange = { this . onChange }
@@ -101,9 +100,7 @@ export default class MonthDropdown extends React.Component {
101100
102101 return (
103102 < div
104- className = { `react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--${
105- this . props . dropdownMode
106- } `}
103+ className = { `react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--${ this . props . dropdownMode } ` }
107104 >
108105 { renderedDropdown }
109106 </ div >
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ export default class MonthDropdownOptions extends React.Component {
1818 : "react-datepicker__month-option"
1919 }
2020 key = { month }
21- ref = { month }
2221 onClick = { this . onChange . bind ( this , i ) }
2322 >
2423 { this . props . month === i ? (
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ export default class MonthYearDropdown extends React.Component {
8989 renderDropdown = ( ) => (
9090 < WrappedMonthYearDropdownOptions
9191 key = "dropdown"
92- ref = "options"
9392 date = { this . props . date }
9493 dateFormat = { this . props . dateFormat }
9594 onChange = { this . onChange }
@@ -142,9 +141,7 @@ export default class MonthYearDropdown extends React.Component {
142141
143142 return (
144143 < div
145- className = { `react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--${
146- this . props . dropdownMode
147- } `}
144+ className = { `react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--${ this . props . dropdownMode } ` }
148145 >
149146 { renderedDropdown }
150147 </ div >
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ export default class MonthYearDropdownOptions extends React.Component {
6060 : "react-datepicker__month-year-option"
6161 }
6262 key = { monthYearPoint }
63- ref = { monthYearPoint }
6463 onClick = { this . onChange . bind ( this , monthYearPoint ) }
6564 >
6665 { isSameMonthYear ? (
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ export default class YearDropdown extends React.Component {
7171 renderDropdown = ( ) => (
7272 < WrappedYearDropdownOptions
7373 key = "dropdown"
74- ref = "options"
7574 year = { this . props . year }
7675 onChange = { this . onChange }
7776 onCancel = { this . toggleDropdown }
@@ -140,9 +139,7 @@ export default class YearDropdown extends React.Component {
140139
141140 return (
142141 < div
143- className = { `react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--${
144- this . props . dropdownMode
145- } `}
142+ className = { `react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--${ this . props . dropdownMode } ` }
146143 >
147144 { renderedDropdown }
148145 </ div >
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ export default class YearDropdownOptions extends React.Component {
6262 : "react-datepicker__year-option"
6363 }
6464 key = { year }
65- ref = { year }
6665 onClick = { this . onChange . bind ( this , year ) }
6766 >
6867 { selectedYear === year ? (
@@ -81,7 +80,6 @@ export default class YearDropdownOptions extends React.Component {
8180 options . unshift (
8281 < div
8382 className = "react-datepicker__year-option"
84- ref = { "upcoming" }
8583 key = { "upcoming" }
8684 onClick = { this . incrementYears }
8785 >
@@ -94,7 +92,6 @@ export default class YearDropdownOptions extends React.Component {
9492 options . push (
9593 < div
9694 className = "react-datepicker__year-option"
97- ref = { "previous" }
9895 key = { "previous" }
9996 onClick = { this . decrementYears }
10097 >
You can’t perform that action at this time.
0 commit comments