Skip to content

Commit 350af38

Browse files
author
David Emory
committed
fix(form): Fix prop-types validation issue
1 parent e78fee2 commit 350af38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/components/form/date-time-preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class DateTimePreview extends Component {
99
compressed: PropTypes.bool,
1010
date: PropTypes.string,
1111
departArrive: PropTypes.string,
12-
editButtonText: PropTypes.string,
12+
editButtonText: PropTypes.element,
1313
time: PropTypes.string,
1414
onClick: PropTypes.func,
1515
routingType: PropTypes.string

lib/components/form/settings-preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class SettingsPreview extends Component {
99
// component props
1010
caret: PropTypes.string,
1111
compressed: PropTypes.bool,
12-
editButtonText: PropTypes.string,
12+
editButtonText: PropTypes.element,
1313
icons: PropTypes.object,
1414
showCaret: PropTypes.bool,
1515
onClick: PropTypes.func,

0 commit comments

Comments
 (0)