react-toolbox/spec/index.jsx

47 lines
1.2 KiB
React
Raw Normal View History

2015-09-21 11:01:52 +03:00
/* global React */
2015-10-08 17:35:34 +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';
import Drawer from './components/drawer';
import Dropdown from './components/dropdown';
2015-10-09 20:48:30 +03:00
import Input from './components/input';
2015-10-09 22:02:12 +03:00
import Progress from './components/progress';
import RadioGroup from './components/radio_group';
2015-10-10 12:25:47 +03:00
import Slider from './components/slider';
2015-10-07 23:24:02 +03:00
import Switch from './components/switch';
// import FontIcon from './components/font_icon';
// import Form from './components/form';
// 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>
<h1>React Toolbox</h1>
<h3>Component Spec v0.10.9</h3>
2015-10-08 17:35:34 +03:00
<Autocomplete />
<Button />
2015-10-05 16:45:29 +03:00
<Card />
2015-10-06 08:43:11 +03:00
<Checkbox />
<Dialog />
<Drawer />
<Dropdown />
2015-10-09 20:48:30 +03:00
<Input />
2015-10-09 22:02:12 +03:00
<Progress />
<RadioGroup />
2015-10-10 12:25:47 +03:00
<Slider />
2015-10-07 23:24:02 +03:00
<Switch />
2015-09-21 11:01:52 +03:00
</app>
);
}
});
2015-10-08 17:35:34 +03:00
2015-09-21 11:01:52 +03:00
React.render(<Test/>, document.body);