2020-01-06 16:52:13 +01:00
|
|
|
import AutocompleteDropDown from 'core-components/autocomplete-dropdown';
|
2015-08-22 03:34:12 +02:00
|
|
|
|
2016-06-12 02:37:08 +02:00
|
|
|
const React = require('react');
|
2016-10-14 02:42:37 +02:00
|
|
|
const _ = require('lodash');
|
2015-08-22 03:34:12 +02:00
|
|
|
|
2020-01-06 16:52:13 +01:00
|
|
|
class DemoPage extends React.Component {
|
|
|
|
|
2015-08-22 03:34:12 +02:00
|
|
|
render() {
|
2020-01-06 16:52:13 +01:00
|
|
|
let itemsList = [
|
|
|
|
{id: 45, content: 'content item 1'},
|
|
|
|
{id: 46, content: 'content item 2'},
|
|
|
|
{id: 47, content: 'content item 3'},
|
|
|
|
{id: 48, content: 'content item 4'},
|
|
|
|
{id: 49, content: 'content item 5'},
|
|
|
|
];
|
|
|
|
|
|
|
|
return (
|
|
|
|
<AutocompleteDropDown items={itemsList} />
|
2015-08-22 03:34:12 +02:00
|
|
|
);
|
|
|
|
}
|
2020-01-06 16:52:13 +01:00
|
|
|
}
|
2015-08-22 03:34:12 +02:00
|
|
|
|
2016-10-29 00:21:55 +02:00
|
|
|
export default DemoPage;
|