// Copyright 2017-2018 Jaco Greeff // This software may be modified and distributed under the terms // of the ISC license. See the LICENSE file for details. // @flow import type { I18nProps } from '@polkadot/ui-app/types'; import type { Route } from '../types'; import './Item.css'; import React from 'react'; import { NavLink } from 'react-router-dom'; import Icon from '@polkadot/ui-app/src/Icon'; import Menu from '@polkadot/ui-app/src/Menu'; type Props = I18nProps & Route & {}; export default function Item ({ i18n, icon, isExact, name, path = '', t }: Props): React$Node { return (