forked from oklas/react-breadcrumbs-dynamic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToolsPages.js
More file actions
35 lines (28 loc) · 759 Bytes
/
ToolsPages.js
File metadata and controls
35 lines (28 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import React, { Component } from 'react'
import { BreadcrumbsItem } from '../../src';
import {base_path} from './constants'
const tools_path = base_path+'/tools'
export const Events = ({children}) => (
<div>
<BreadcrumbsItem glyph='calendar' to={tools_path+'/events'}>
Events
</BreadcrumbsItem>
<h2>Events tool Page</h2>
</div>
)
export const Statistics = ({children}) => (
<div>
<BreadcrumbsItem glyph='signal' to={tools_path+'/statistics'}>
Statistics
</BreadcrumbsItem>
<h2>Statistics tool Page</h2>
</div>
)
export const Settings = ({children}) => (
<div>
<BreadcrumbsItem glyph='wrench' to={tools_path+'/settings'}>
Settings
</BreadcrumbsItem>
<h2>Settings tool Page</h2>
</div>
)