import * as React from 'react';
import JqxComboBox, { IComboBoxProps } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxcombobox';
class App extends React.PureComponent<{}, IComboBoxProps> {
constructor(props: {}) {
super(props);
this.state = {
source: [
// Business & Investing
{ html: '
Title: Do the Work
Author: Steven Pressfield
', label: 'Do the Work', group: 'Business & Investing' },
{ html: 'Title: Think and Grow Rich
Author: Napoleon Hill
', label: 'Think and Grow Rich', group: 'Business & Investing' },
{ html: 'Title: The Toyota Way to Continuous...
Author: Jeffrey K. Liker
', label: 'The Toyota Way to Continuous...', group: 'Business & Investing' },
{ html: 'Title: Redesigning Leadership
Author: John Maeda
', label: 'Redesigning Leadership ', group: 'Business & Investing' },
// Computer & Internet Books
{ html: 'Title: MacBook Pro Portable Genius
Author: Brad Miser
', label: 'MacBook Pro Portable Genius', group: 'Computer & Internet Books' },
{ html: 'Title: Social Media Metrics Secrets
Author: John Lovett
', label: 'Social Media Metrics Secrets', group: 'Computer & Internet Books' },
{ html: 'Title: iPad 2: The Missing Manual
Author: J D Biersdorfer J.D
', label: 'iPad 2: The Missing Manual', group: 'Computer & Internet Books' },
// History
{ html: 'Lincoln and His Admirals
Author:Craig L. Symonds
', label: 'Lincoln and His Admirals', group: 'History' },
{ html: 'The Dogs of War: 1861
Author:Emory M. Thomas
', label: 'The Dogs of War: 1861', group: 'History' },
{ html: 'Cleopatra: A Life
Author:Stacy Schiff
', label: 'Cleopatra: A Life', group: 'History' },
{ html: 'Mother Teresa: A Biography
Author:Meg Greene
', label: 'Mother Teresa: A Biography', group: 'History' },
{ html: 'The Federalist Papers
Author:John Jay
', label: 'The Federalist Papers', group: 'History' },
]
}
}
public render() {
return (
);
}
}
export default App;