@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
19 lines • 714 B
TypeScript
interface DrawerConfiguration {
assets?: Record<string, unknown>;
networks?: Record<string, unknown>;
}
interface UseCaseConfig {
assets?: Record<string, unknown>;
networks?: Record<string, unknown>;
}
type UseCaseConfigs = Record<string, UseCaseConfig>;
/**
* Hook that provides drawer configuration functionality with feature flag integration.
*
* @returns An object containing the createDrawerConfiguration function
*/
export declare function useDrawerConfiguration(): {
createDrawerConfiguration: (drawerConfiguration: unknown, useCase: string | undefined, customUseCaseConfigs?: UseCaseConfigs) => DrawerConfiguration;
};
export {};
//# sourceMappingURL=useDrawerConfiguration.d.ts.map