@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
13 lines • 576 B
TypeScript
import { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets";
import { ReactNode } from "react";
import { AccountModuleParams, AccountDataItem } from "../utils/type";
export declare const createUseLeftAccountsModule: ({ useAccountData, accountsCount, }: {
useAccountData: (params: AccountModuleParams) => AccountDataItem[];
accountsCount: (args: {
label: string;
}) => ReactNode;
}) => (params: AccountModuleParams) => Array<CryptoOrTokenCurrency & {
leftElement?: ReactNode;
count: number;
}>;
//# sourceMappingURL=useLeftAccounts.d.ts.map