import * as _ from 'lodash'; import * as React from 'react'; import {Link} from 'react-router-dom'; import {MenuItem} from 'ts/components/ui/menu_item'; import {WebsitePaths} from 'ts/types'; export interface PortalMenuProps { menuItemStyle: React.CSSProperties; onClick?: () => void; } interface PortalMenuState {} export class PortalMenu extends React.Component { public static defaultProps: Partial = { onClick: _.noop, }; public render() { return (
{this.renderMenuItemWithIcon('Generate order', 'zmdi-arrow-right-top')} {this.renderMenuItemWithIcon('Fill order', 'zmdi-arrow-left-bottom')} {this.renderMenuItemWithIcon('Balances', 'zmdi-balance-wallet')} {this.renderMenuItemWithIcon('Trade history', 'zmdi-format-list-bulleted')}
); } private renderMenuItemWithIcon(title: string, iconName: string) { return (
{title}
); } }