File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ import {
1010import { isMaxDate , isMinDate , isValueType } from '../shared/propTypes' ;
1111
1212export default function NativeInput ( {
13+ ariaLabel,
1314 disabled,
1415 maxDate,
1516 minDate,
1617 name,
17- nativeInputAriaLabel,
1818 onChange,
1919 required,
2020 value,
@@ -53,7 +53,7 @@ export default function NativeInput({
5353 return (
5454 < input
5555 type = "datetime-local"
56- aria-label = { nativeInputAriaLabel }
56+ aria-label = { ariaLabel }
5757 disabled = { disabled }
5858 max = { maxDate ? nativeValueParser ( maxDate ) : null }
5959 min = { minDate ? nativeValueParser ( minDate ) : null }
@@ -74,11 +74,11 @@ export default function NativeInput({
7474}
7575
7676NativeInput . propTypes = {
77+ ariaLabel : PropTypes . string ,
7778 disabled : PropTypes . bool ,
7879 maxDate : isMaxDate ,
7980 minDate : isMinDate ,
8081 name : PropTypes . string ,
81- nativeInputAriaLabel : PropTypes . string ,
8282 onChange : PropTypes . func ,
8383 required : PropTypes . bool ,
8484 value : PropTypes . oneOfType ( [
You can’t perform that action at this time.
0 commit comments