minor changes
parent
362c0cf70f
commit
7aec1852ee
|
@ -8,7 +8,7 @@ const App = (props) => {
|
|||
}
|
||||
|
||||
return (
|
||||
<div className={className} data-react-toolbox='app'>
|
||||
<div data-react-toolbox='app' className={className}>
|
||||
{props.children}
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -59,8 +59,7 @@ class Autocomplete extends React.Component {
|
|||
};
|
||||
|
||||
handleQueryChange = (event) => {
|
||||
const query = event.target.value;
|
||||
this.setState({query});
|
||||
this.setState({event: event.target.value});
|
||||
};
|
||||
|
||||
handleQueryFocus = () => {
|
||||
|
@ -185,8 +184,8 @@ class Autocomplete extends React.Component {
|
|||
<Input
|
||||
ref='input'
|
||||
{...this.props}
|
||||
label=''
|
||||
className={style.input}
|
||||
label=''
|
||||
onBlur={this.handleQueryBlur}
|
||||
onChange={this.handleQueryChange}
|
||||
onFocus={this.handleQueryFocus}
|
||||
|
|
|
@ -51,8 +51,8 @@ class Button extends React.Component {
|
|||
data-react-toolbox='button'
|
||||
{...others}
|
||||
className={className}
|
||||
onMouseDown={this.handleMouseDown}
|
||||
disabled={this.props.disabled || this.props.loading}
|
||||
onMouseDown={this.handleMouseDown}
|
||||
>
|
||||
{ ripple ? <Ripple ref='ripple' loading={loading}/> : null }
|
||||
{ icon ? <FontIcon className={style.icon} value={icon}/> : null }
|
||||
|
|
Loading…
Reference in New Issue