Skip to content
Snippets Groups Projects
Commit 9444f506 authored by Vladimir Kattsov's avatar Vladimir Kattsov
Browse files

:ok_hand: Update README, fix customInputIcon case

parent effb39fc
No related branches found
No related tags found
No related merge requests found
......@@ -158,6 +158,8 @@ readOnly: PropTypes.bool,
screenReaderInputMessage: PropTypes.string,
showClearDate: PropTypes.bool,
customCloseIcon: PropTypes.node,
showDefaultInputIcon: PropTypes.bool,
customInputIcon: PropTypes.node,
// calendar presentation and interaction related props
orientation: OrientationShape,
......
......@@ -38,7 +38,6 @@ const defaultProps = {
showClearDate: false,
showDefaultInputIcon: false,
customInputIcon: null,
customCloseIcon: null,
// calendar presentation and interaction related props
renderMonth: null,
......
......@@ -741,6 +741,7 @@ export default class SingleDatePicker extends React.Component {
readOnly,
showClearDate,
showDefaultInputIcon,
customInputIcon,
date,
phrases,
withPortal,
......@@ -771,6 +772,7 @@ export default class SingleDatePicker extends React.Component {
onClearDate={this.clearDate}
showClearDate={showClearDate}
showDefaultInputIcon={showDefaultInputIcon}
customInputIcon={customInputIcon}
displayValue={displayValue}
inputValue={inputValue}
onChange={this.onChange}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment