Browse Source

Linting.

feature/python-error-tracking
Drew Larson 8 years ago
parent
commit
f35961a342
  1. 36
      bikeshop_project/assets/js/components/Member.jsx

36
bikeshop_project/assets/js/components/Member.jsx

@ -1,22 +1,22 @@
import React from 'react';
import AutoComplete from 'material-ui/AutoComplete';
import React from 'react';
export default class Member extends React.Component {
render () {
return (
<AutoComplete
dataSource={this.props.members}
onUpdateInput={this.props.handleUpdate.bind(this)}
openOnFocus={true}
filter={AutoComplete.noFilter}
onNewRequest={this.props.signIn.bind(this)}
errorText={this.props.error}
hintText="Search members"
searchText={this.props.searchText}
fullWidth={true}
textFieldStyle={{textAlign: 'center', fontSize: '32px', lineHeight: '48px'}}
tabIndex={this.props.tabIndex}
/>
);
}
render() {
return (
<AutoComplete
dataSource={this.props.members}
onUpdateInput={this.props.handleUpdate.bind(this)}
openOnFocus
filter={AutoComplete.noFilter}
onNewRequest={this.props.signIn.bind(this)}
errorText={this.props.error}
hintText="Search members"
searchText={this.props.searchText}
fullWidth
textFieldStyle={{ textAlign: 'center', fontSize: '32px', lineHeight: '48px' }}
tabIndex={this.props.tabIndex}
/>
);
}
}

Loading…
Cancel
Save