/* 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' // Example/Demo component. This is how you would build a component internal to // your wallet app/site. import DemoComponent from '../../demo-component' // TX History Plugin. // This is an example of an external plugin for the wallet. It's a modular // approach to sharing 'lego blocks' between wallet apps. // import TXHistory from 'gatsby-plugin-bch-tx-history/src/components/txhistory' import TXHistory from 'gatsby-plugin-bch-tx-history' // Default components from gatsby-ipfs-web-wallet. import Wallet from 'gatsby-ipfs-web-wallet/src/components/admin-lte/wallet' import Tokens from 'gatsby-ipfs-web-wallet/src/components/admin-lte/tokens' import Configure from 'gatsby-ipfs-web-wallet/src/components/admin-lte/configure' import SendReceive from 'gatsby-ipfs-web-wallet/src/components/admin-lte/send-receive' import Explorer from '../../explorer' const { Item } = Sidebar const MenuComponents = props => { return [ { active: true, // Set this view as default key: 'Explorer', component: , menuItem: }, { key: 'Tokens', component: , menuItem: }, { key: 'Send/Receive BCH', component: , menuItem: ( ) }, { key: 'Wallet', component: , menuItem: }, { key: 'Configure', component: , menuItem: }, { key: 'TX History', component: , menuItem: }, { key: 'Demo Component', component: , menuItem: ( ) } ] } export default MenuComponents