ghost-portal/packages/apps/src/routing/example.ts
Jaco Greeff 8155e94d05
Simplify routing, redirect to default (#228)
* Simplify routing, redirect to default

* Allow subroutes

* Cleanup unused scripts

* Pass through basePath (router prop)
2018-08-16 10:40:56 +02:00

20 lines
449 B
TypeScript

// Copyright 2017-2018 @polkadot/apps authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
import { Routes } from '../types';
import Example from '@polkadot/app-example/index';
export default ([
{
Component: Example,
i18n: {
defaultValue: 'Example'
},
icon: 'hand spock',
isHidden: true,
name: 'example'
}
] as Routes);