2015-11-12 02:26:23 +03:00
|
|
|
/* global VERSION */
|
2016-05-31 11:23:05 +03:00
|
|
|
import '../components/commons.scss';
|
2015-10-23 11:11:40 +03:00
|
|
|
import React from 'react';
|
2016-05-26 22:17:25 +03:00
|
|
|
import AppBar from '../components/app_bar';
|
2015-10-23 11:11:40 +03:00
|
|
|
import Autocomplete from './components/autocomplete';
|
2016-05-26 22:17:25 +03:00
|
|
|
import Avatar from './components/avatar';
|
2015-10-23 11:11:40 +03:00
|
|
|
import Button from './components/button';
|
2016-05-26 22:17:25 +03:00
|
|
|
import ButtonToolbox from '../components/button';
|
2015-10-23 11:11:40 +03:00
|
|
|
import Card from './components/card';
|
|
|
|
import Checkbox from './components/checkbox';
|
2016-04-02 14:37:21 +03:00
|
|
|
import Chip from './components/chip';
|
2015-10-23 11:11:40 +03:00
|
|
|
import Dialog from './components/dialog';
|
|
|
|
import Drawer from './components/drawer';
|
|
|
|
import Dropdown from './components/dropdown';
|
|
|
|
import IconMenu from './components/icon_menu';
|
|
|
|
import Input from './components/input';
|
2016-02-09 01:07:12 +03:00
|
|
|
import Layout from './components/layout';
|
2015-10-23 11:11:40 +03:00
|
|
|
import List from './components/list';
|
|
|
|
import Menu from './components/menu';
|
|
|
|
import Pickers from './components/pickers';
|
|
|
|
import Progress from './components/progress';
|
|
|
|
import Radio from './components/radio';
|
|
|
|
import Slider from './components/slider';
|
2016-05-26 22:17:25 +03:00
|
|
|
import Snackbar from './components/snackbar';
|
2015-10-23 11:11:40 +03:00
|
|
|
import Switch from './components/switch';
|
2015-11-03 09:54:10 +03:00
|
|
|
import Table from './components/table';
|
2015-10-23 11:11:40 +03:00
|
|
|
import Tabs from './components/tabs';
|
2015-11-05 09:57:12 +03:00
|
|
|
import Tooltip from './components/tooltip';
|
2015-10-23 19:30:37 +03:00
|
|
|
import style from './style';
|
2015-10-23 11:11:40 +03:00
|
|
|
|
2015-10-29 08:33:21 +03:00
|
|
|
const Root = () => (
|
2016-05-31 11:23:05 +03:00
|
|
|
<div className={style.app}>
|
|
|
|
<AppBar className={style.appbar} fixed flat>
|
|
|
|
<h1>React Toolbox <small>Spec {VERSION}</small></h1>
|
|
|
|
<ButtonToolbox
|
|
|
|
accent
|
|
|
|
className={style.github}
|
|
|
|
icon='web'
|
|
|
|
floating
|
|
|
|
onClick={() => {window.href = 'http://react-toolbox';}}
|
|
|
|
/>
|
|
|
|
</AppBar>
|
|
|
|
<Autocomplete />
|
|
|
|
<Avatar />
|
|
|
|
<Button />
|
|
|
|
<Card />
|
|
|
|
<Checkbox />
|
|
|
|
<Chip />
|
|
|
|
<Dialog />
|
|
|
|
<Drawer />
|
|
|
|
<Dropdown />
|
|
|
|
<IconMenu />
|
|
|
|
<Input />
|
|
|
|
<Layout />
|
|
|
|
<List />
|
|
|
|
<Menu />
|
|
|
|
<Pickers />
|
|
|
|
<Progress />
|
|
|
|
<Radio />
|
|
|
|
<Slider />
|
|
|
|
<Snackbar />
|
|
|
|
<Switch />
|
|
|
|
<Table />
|
|
|
|
<Tabs />
|
|
|
|
<Tooltip />
|
|
|
|
</div>
|
2015-10-29 08:33:21 +03:00
|
|
|
);
|
2015-10-23 11:11:40 +03:00
|
|
|
|
2015-10-29 08:33:21 +03:00
|
|
|
export default Root;
|