mirror of
https://github.com/fullstack-cash/wallet.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
30 lines
822 B
JavaScript
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
|