File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ General datepicker component.
7474| ` timeFormat ` | ` string ` | | |
7575| ` timeIntervals ` | ` number ` | ` 30 ` | |
7676| ` title ` | ` string ` | | |
77- | ` todayButton ` | ` string ` | | |
77+ | ` todayButton ` | ` node ` | | |
7878| ` useWeekdaysShort ` | ` bool ` | | |
7979| ` utcOffset ` | ` union(number\|string) ` | | |
8080| ` value ` | ` string ` | | |
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ General datepicker component.
8585| ` timeFormat ` | ` string ` | | |
8686| ` timeIntervals ` | ` number ` | ` 30 ` | |
8787| ` title ` | ` string ` | | |
88- | ` todayButton ` | ` string ` | | |
88+ | ` todayButton ` | ` node ` | | |
8989| ` useShortMonthInDropdown ` | ` bool ` | | |
9090| ` useWeekdaysShort ` | ` bool ` | | |
9191| ` utcOffset ` | ` union(number\|string) ` | | |
Original file line number Diff line number Diff line change 1414| ` onTimeChange ` | | ` () => {} ` | |
1515| ` selected ` | ` object ` | | |
1616| ` timeCaption ` | ` string ` | ` "Time" ` | |
17- | ` todayButton ` | ` string ` | ` null ` | |
17+ | ` todayButton ` | ` node ` | ` null ` | |
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export default class Calendar extends React.Component {
101101 showWeekNumbers : PropTypes . bool ,
102102 showYearDropdown : PropTypes . bool ,
103103 startDate : PropTypes . object ,
104- todayButton : PropTypes . string ,
104+ todayButton : PropTypes . node ,
105105 useWeekdaysShort : PropTypes . bool ,
106106 formatWeekDay : PropTypes . func ,
107107 withPortal : PropTypes . bool ,
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ export default class DatePicker extends React.Component {
139139 tabIndex : PropTypes . number ,
140140 timeCaption : PropTypes . string ,
141141 title : PropTypes . string ,
142- todayButton : PropTypes . string ,
142+ todayButton : PropTypes . node ,
143143 useWeekdaysShort : PropTypes . bool ,
144144 formatWeekDay : PropTypes . func ,
145145 utcOffset : PropTypes . oneOfType ( [ PropTypes . number , PropTypes . string ] ) ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default class Time extends React.Component {
2020 intervals : PropTypes . number ,
2121 selected : PropTypes . object ,
2222 onChange : PropTypes . func ,
23- todayButton : PropTypes . string ,
23+ todayButton : PropTypes . node ,
2424 minTime : PropTypes . object ,
2525 maxTime : PropTypes . object ,
2626 excludeTimes : PropTypes . array ,
You can’t perform that action at this time.
0 commit comments