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.
1 parent f65d8d4 commit 0817cf1Copy full SHA for 0817cf1
src/DateInput/MonthSelect.jsx
@@ -4,7 +4,7 @@ import mergeClassNames from 'merge-class-names';
4
import { getYear, getMonthHuman } from '@wojtekmaj/date-utils';
5
6
import { formatMonth, formatShortMonth } from '../shared/dateFormatter';
7
-import { isMaxDate, isMinDate } from '../shared/propTypes';
+import { isMaxDate, isMinDate, isRef } from '../shared/propTypes';
8
import { safeMin, safeMax } from '../shared/utils';
9
10
export default function MonthSelect({
@@ -70,7 +70,7 @@ MonthSelect.propTypes = {
70
ariaLabel: PropTypes.string,
71
className: PropTypes.string.isRequired,
72
disabled: PropTypes.bool,
73
- inputRef: PropTypes.func,
+ inputRef: isRef,
74
locale: PropTypes.string,
75
maxDate: isMaxDate,
76
minDate: isMinDate,
0 commit comments