Files
wallet.fullstack.cash/src/gatsby-ipfs-web-wallet/components/menu-components.js
T

30 lines
822 B
JavaScript

/*
This file is how you add new menu items to your site. It uses the Gatsby
concept of Component Shadowing:
https://www.gatsbyjs.org/blog/2019-04-29-component-shadowing/
It over-rides he default file in the gatsby-ipfs-web-wallet Theme.
*/
import React from 'react'
import { Sidebar } from 'adminlte-2-react'
import About from '../../about'
import PostOfficeConfiguration from '../../../plugins/bch-wallet-plugin-postoffice/src/postOfficeConfiguration.js'
const { Item } = Sidebar
const MenuComponents = [
{
key: 'About',
component: <About />,
menuItem: <Item icon='fas-cog' key='About' text='About' />
},
{
key: 'Post Office ',
component: <PostOfficeConfiguration />,
menuItem: <Item icon='fas-message' key='PostOffice' text='Post Office' />
}
]
export default MenuComponents