UNPKG

kibana-123

Version:

Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic

80 lines (65 loc) 1.65 kB
import Slugify from '../string/slugify'; import BarExample from '../../views/bar/bar_example.jsx'; import ButtonExample from '../../views/button/button_example.jsx'; import FormExample from '../../views/form/form_example.jsx'; import IconExample from '../../views/icon/icon_example.jsx'; import InfoPanelExample from '../../views/info_panel/info_panel_example.jsx'; import LinkExample from '../../views/link/link_example.jsx'; import LocalNavExample from '../../views/local_nav/local_nav_example.jsx'; import MicroButtonExample from '../../views/micro_button/micro_button_example.jsx'; import TableExample from '../../views/table/table_example.jsx'; import TabsExample from '../../views/tabs/tabs_example.jsx'; import ToolBarExample from '../../views/tool_bar/tool_bar_example.jsx'; // Component route names should match the component name exactly. const components = [{ name: 'Bar', component: BarExample, }, { name: 'Button', component: ButtonExample, }, { name: 'Form', component: FormExample, }, { name: 'Icon', component: IconExample, }, { name: 'InfoPanel', component: InfoPanelExample, }, { name: 'Link', component: LinkExample, }, { name: 'LocalNav', component: LocalNavExample, }, { name: 'MicroButton', component: MicroButtonExample, }, { name: 'Table', component: TableExample, }, { name: 'Tabs', component: TabsExample, }, { name: 'ToolBar', component: ToolBarExample, }]; export default { components: Slugify.each(components, 'name', 'path'), getAppRoutes: function getAppRoutes() { const list = this.components; return list.slice(0); }, };