You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import React from 'react';
|
|
|
|
import AutoComplete from 'material-ui/AutoComplete';
|
|
|
|
|
|
|
|
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}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|