mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-08-04 14:25:43 +00:00
25 lines
608 B
TypeScript
25 lines
608 B
TypeScript
// Copyright 2017-2026 @pezkuwi/apps-routing authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { Route, TFunction } from './types.js';
|
|
|
|
import { TransferModal as Modal } from '@pezkuwi/react-components';
|
|
|
|
export default function create (t: TFunction): Route {
|
|
return {
|
|
Component: Modal,
|
|
Modal,
|
|
display: {
|
|
isHidden: false,
|
|
needsAccounts: true,
|
|
needsApi: [
|
|
'tx.balances.transferKeepAlive'
|
|
]
|
|
},
|
|
group: 'accounts',
|
|
icon: 'paper-plane',
|
|
name: 'transfer',
|
|
text: t('nav.transfer', 'Transfer', { ns: 'apps-routing' })
|
|
};
|
|
}
|