import * as _ from 'lodash'; import * as React from 'react'; 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')} {this.renderMenuItemWithIcon('Wrap ETH', 'zmdi-circle-o')}
); } private renderMenuItemWithIcon(title: string, iconName: string) { return (
{title}
); } }