52 lines
1.5 KiB
JavaScript
52 lines
1.5 KiB
JavaScript
/* global VERSION */
|
|
import React from 'react';
|
|
import App from '../components/app';
|
|
import AppBarToolbox from '../components/app_bar';
|
|
import ButtonToolbox from '../components/button';
|
|
import Autocomplete from './components/autocomplete';
|
|
import Button from './components/button';
|
|
import Card from './components/card';
|
|
import Checkbox from './components/checkbox';
|
|
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';
|
|
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 Snackbar from './components/snackbar';
|
|
import Slider from './components/slider';
|
|
import Switch from './components/switch';
|
|
import Table from './components/table';
|
|
import Tabs from './components/tabs';
|
|
import Tooltip from './components/tooltip';
|
|
import style from './style';
|
|
|
|
const _hrefProject = () => {
|
|
window.href = 'http://react-toolbox';
|
|
};
|
|
|
|
const Root = () => (
|
|
<App className={style.app}>
|
|
<AppBarToolbox fixed flat className={style.appbar}>
|
|
<h1>React Toolbox <small>Spec {VERSION}</small></h1>
|
|
<ButtonToolbox
|
|
accent
|
|
className={style.github}
|
|
icon='web'
|
|
floating
|
|
onClick={_hrefProject}
|
|
/>
|
|
</AppBarToolbox>
|
|
|
|
|
|
<Card />
|
|
|
|
</App>
|
|
);
|
|
|
|
export default Root;
|