@bluxcc/react 0.1.19 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/logos.d.ts +1 -0
- package/dist/constants/locales.d.ts +9 -0
- package/dist/containers/BluxModal/content.d.ts +3 -2
- package/dist/containers/Pages/SelectAsset/index.d.ts +1 -1
- package/dist/containers/Pages/Send/SendForm.d.ts +3 -0
- package/dist/hooks/useLang.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/types/index.d.ts +5 -3
- package/dist/utils/translate.d.ts +2 -0
- package/dist/wallets/configs/hotConfig.d.ts +2 -0
- package/package.json +10 -5
package/dist/assets/logos.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare const AlbedoLogo: () => React.JSX.Element;
|
|
|
3
3
|
export declare const HanaLogo: ({ fill }: {
|
|
4
4
|
fill?: string;
|
|
5
5
|
}) => React.JSX.Element;
|
|
6
|
+
export declare const HotLogo: () => React.JSX.Element;
|
|
6
7
|
export declare const RabetLogo: ({ fill }: {
|
|
7
8
|
fill?: string;
|
|
8
9
|
}) => React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type LanguageKey = 'en' | 'es';
|
|
2
|
+
export type Translations = {
|
|
3
|
+
[key: string]: {
|
|
4
|
+
[lang in LanguageKey]: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export type TranslationKey = keyof typeof translations;
|
|
8
|
+
declare const translations: Translations;
|
|
9
|
+
export default translations;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Routes } from '../../types';
|
|
2
|
+
import { LanguageKey } from '../../constants/locales';
|
|
3
|
+
import React from 'react';
|
|
3
4
|
type RouteContent = {
|
|
4
5
|
title: string;
|
|
5
6
|
isSticky?: boolean;
|
|
6
7
|
Component: React.JSX.Element;
|
|
7
8
|
};
|
|
8
|
-
export declare const
|
|
9
|
+
export declare const getModalContent: (lang: LanguageKey) => Record<Routes, RouteContent>;
|
|
9
10
|
export {};
|
|
@@ -3,7 +3,7 @@ import { IAsset } from '../../../types';
|
|
|
3
3
|
type SelectAssetsProps = {
|
|
4
4
|
assets: IAsset[];
|
|
5
5
|
setShowSelectAssetPage: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
-
setSelectedAsset: React.Dispatch<React.SetStateAction<IAsset
|
|
6
|
+
setSelectedAsset: React.Dispatch<React.SetStateAction<IAsset>>;
|
|
7
7
|
};
|
|
8
8
|
declare const SelectAssets: ({ assets, setSelectedAsset, setShowSelectAssetPage, }: SelectAssetsProps) => React.JSX.Element;
|
|
9
9
|
export default SelectAssets;
|