This commit is contained in:
mgabdev
2020-04-23 02:13:29 -04:00
parent fed036be08
commit e2e7e8c0af
177 changed files with 1231 additions and 1326 deletions

View File

@@ -31,9 +31,8 @@ class Search extends PureComponent {
submitted: PropTypes.bool,
onShow: PropTypes.func.isRequired,
onChange: PropTypes.func.isRequired,
onKeyUp: PropTypes.func.isRequired,
withOverlay: PropTypes.bool,
handleClear: PropTypes.func.isRequired,
onClear: PropTypes.func.isRequired,
onSubmit: PropTypes.func.isRequired,
}
@@ -78,7 +77,7 @@ class Search extends PureComponent {
const {
value,
submitted,
handleClear,
onClear,
withOverlay
} = this.props
const { expanded } = this.state
@@ -97,7 +96,7 @@ class Search extends PureComponent {
onKeyUp={this.handleKeyUp}
onFocus={this.handleFocus}
onBlur={this.handleBlur}
onClear={handleClear}
onClear={onClear}
/>
{