...
|
...
|
@@ -17,10 +17,10 @@ export default class SearchBar extends Component { |
|
|
}
|
|
|
|
|
|
render() {
|
|
|
let { classname, value, height, disabled} = this.props;
|
|
|
let { classname, value, disabled} = this.props;
|
|
|
|
|
|
return (
|
|
|
<View style= { height ? `width: ${height}rpx` : ''} className={classname + ' search'}>
|
|
|
<View className={classname + ' search'}>
|
|
|
<Image src={searchIcon} className="search-icon"/>
|
|
|
<Input type='text' placeholder = 'Search' value = { value? value : ''} onInput = { this.props.onInputAction } onConfirm = { this.props.onComplate } disabled={disabled} />
|
|
|
</View>
|
...
|
...
|
|