@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
16 lines • 704 B
TypeScript
import React from "react";
import type { CryptoCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets";
type Icon = React.ComponentType<{
size: number;
color: string;
}>;
/**
* @deprecated prefer using @ledgerhq/crypto-icons-ui directly + mapping provided by @ledgerhq/live-common/currencies/cryptoIcons
*/
export declare function getCryptoCurrencyIcon(currency: CryptoCurrency): Icon | null | undefined;
/**
* @deprecated prefer using @ledgerhq/crypto-icons-ui directly + mapping provided by @ledgerhq/live-common/currencies/cryptoIcons
*/
export declare function getTokenCurrencyIcon(token: TokenCurrency): Icon | null | undefined;
export {};
//# sourceMappingURL=reactNative.d.ts.map