feature: add Icons in sidebar items

This commit is contained in:
George Lima 2018-12-11 20:43:09 -03:00
parent c172e47c4d
commit 64f12d483d
1 changed files with 29 additions and 9 deletions

View File

@ -1,28 +1,48 @@
// @flow // @flow
import React from 'react';
import { FaThLarge, FaCode } from 'react-icons/fa';
import { IoIosSend } from 'react-icons/io';
import { TiDownload } from 'react-icons/ti';
import { MdSettings, MdTransform } from 'react-icons/md';
import { import {
DASHBOARD_ROUTE, SEND_ROUTE, RECEIVE_ROUTE, SETTINGS_ROUTE, CONSOLE_ROUTE, DASHBOARD_ROUTE,
SEND_ROUTE,
RECEIVE_ROUTE,
SETTINGS_ROUTE,
CONSOLE_ROUTE,
TRANSACTIONS_ROUTE,
} from './routes'; } from './routes';
export const MENU_OPTIONS = [ export const MENU_OPTIONS = [
{ {
label: 'Dashboard', label: 'Dashboard',
route: DASHBOARD_ROUTE, route: DASHBOARD_ROUTE,
}, icon: <FaThLarge />,
{
label: 'Send',
route: SEND_ROUTE,
},
{
label: 'Receive',
route: RECEIVE_ROUTE,
}, },
{ {
label: 'Console', label: 'Console',
route: CONSOLE_ROUTE, route: CONSOLE_ROUTE,
icon: <FaCode />,
},
{
label: 'Send',
route: SEND_ROUTE,
icon: <IoIosSend />,
},
{
label: 'Receive',
route: RECEIVE_ROUTE,
icon: <TiDownload />,
},
{
label: 'Transactions',
route: TRANSACTIONS_ROUTE,
icon: <MdTransform />,
}, },
{ {
label: 'Settings', label: 'Settings',
route: SETTINGS_ROUTE, route: SETTINGS_ROUTE,
icon: <MdSettings />,
}, },
]; ];