mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-14 09:01:03 +00:00
Add qr support for networkSpecs (#299)
* add qr support for networkSpecs * make lint happy with spaces * make lint happier * remove path id in networkspecs type * Update tsconfig.json
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
import settings, { Settings } from './Settings';
|
||||
export { ENDPOINT_DEFAULT, ICON_DEFAULT, ICON_DEFAULT_HOST, LANGUAGE_DEFAULT, LOCKING_DEFAULT, PREFIX_DEFAULT, UIMODE_DEFAULT, UITHEME_DEFAULT } from './defaults';
|
||||
export { SettingsStruct } from './types';
|
||||
export { SettingsStruct, NetworkSpecsStruct } from './types';
|
||||
|
||||
export default settings;
|
||||
|
||||
|
||||
@@ -20,3 +20,12 @@ export interface SettingsStruct {
|
||||
uiMode: string;
|
||||
uiTheme: string;
|
||||
}
|
||||
|
||||
export interface NetworkSpecsStruct {
|
||||
color: string;
|
||||
decimals: number;
|
||||
genesisHash: string;
|
||||
prefix: number;
|
||||
title: string;
|
||||
unit: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user