ghost-portal/packages/apps-routing/src/rpc.ts
Ewa Kowalska 87505b1c59
Eslint imports (#4037)
* Add eslint configuration

* Patch eslint plugin for sorting imports

* Apply eslint rules for imports
2020-12-01 14:40:42 +01:00

22 lines
492 B
TypeScript

// Copyright 2017-2020 @polkadot/apps-routing authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { TFunction } from 'i18next';
import Component from '@polkadot/app-rpc';
import type { Route } from './types';
export default function create (t: TFunction): Route {
return {
Component,
display: {
needsApi: []
},
group: 'developer',
icon: 'network-wired',
name: 'rpc',
text: t('nav.rpc', 'RPC calls', { ns: 'apps-routing' })
};
}