import React from 'react';
import ReactDOM from 'react-dom';
import Autocomplete from 'react-toolbox/lib/autocomplete';
const source = {
'ES-es': 'Spain',
'TH-th': 'Thailand',
'EN-gb': 'England',
'EN-en': 'USA'
};
class AutocompleteTest extends React.Component {
state = {
countries: ['ES-es', 'TH-th']
};
handleChange = (value) => {
this.setState({countries: value});
};
render () {
return (
);
}
}
class App extends React.Component {
render () {
return ()
}
}
ReactDOM.render(, document.getElementById('root'));