2015-09-21 11:01:52 +03:00
|
|
|
/* global React */
|
|
|
|
|
2015-10-05 16:49:56 +03:00
|
|
|
// import Autocomplete from './components/autocomplete';
|
2015-09-21 11:01:52 +03:00
|
|
|
import Button from './components/button';
|
2015-10-05 16:45:29 +03:00
|
|
|
import Card from './components/card';
|
|
|
|
import Checkbox from './components/checkbox';
|
2015-10-06 08:43:11 +03:00
|
|
|
import Dialog from './components/dialog';
|
2015-10-02 23:08:02 +03:00
|
|
|
import Drawer from './components/drawer';
|
2015-10-06 22:18:39 +03:00
|
|
|
import RadioGroup from './components/radio_group';
|
2015-10-07 23:24:02 +03:00
|
|
|
import Switch from './components/switch';
|
2015-10-02 18:39:26 +03:00
|
|
|
// import Dropdown from './components/dropdown';
|
|
|
|
// import FontIcon from './components/font_icon';
|
|
|
|
// import Form from './components/form';
|
|
|
|
// import Progress from './components/progress';
|
|
|
|
// import Slider from './components/slider';
|
|
|
|
// import Pickers from './components/pickers';
|
|
|
|
// import Tabs from './components/tabs';
|
2015-09-21 11:01:52 +03:00
|
|
|
|
|
|
|
const Test = React.createClass({
|
|
|
|
displayName: 'App',
|
|
|
|
|
|
|
|
render () {
|
|
|
|
return (
|
2015-10-06 08:43:11 +03:00
|
|
|
<app data-react-toolbox-app>
|
2015-10-06 22:34:43 +03:00
|
|
|
<h4>React Toolbox component spec</h4>
|
2015-10-02 18:39:26 +03:00
|
|
|
<Button />
|
2015-10-05 16:45:29 +03:00
|
|
|
<Card />
|
2015-10-06 08:43:11 +03:00
|
|
|
<Checkbox />
|
|
|
|
<Dialog />
|
2015-10-02 23:08:02 +03:00
|
|
|
<Drawer />
|
2015-10-06 22:18:39 +03:00
|
|
|
<RadioGroup />
|
2015-10-07 23:24:02 +03:00
|
|
|
<Switch />
|
2015-09-21 11:01:52 +03:00
|
|
|
</app>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
React.render(<Test/>, document.body);
|