@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
12 lines • 386 B
TypeScript
import type { Currency } from "@ledgerhq/types-cryptoassets";
export type ColorableCurrency = {
type: Currency["type"];
color?: string | undefined;
id: string;
ticker: string;
parentCurrency?: {
color?: string | undefined;
};
};
export declare function getCurrencyColor(currency: ColorableCurrency | Currency): string;
//# sourceMappingURL=color.d.ts.map