react-toolbox/spec/index.jsx

43 lines
1.1 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';
2015-10-09 20:48:30 +03:00
import Input from './components/input';
import RadioGroup from './components/radio_group';
2015-10-07 23:24:02 +03:00
import Switch from './components/switch';
2015-10-09 20:48:30 +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-09 20:48:30 +03:00
<h4>React Toolbox component spec</h4>
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 />
2015-10-09 20:48:30 +03:00
<Input />
<RadioGroup />
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);