@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
15 lines (12 loc) • 422 B
text/typescript
import { LiveAppManifest } from "../../platform/types";
import { LocalLiveAppDB } from "../react";
export type LiveAppProviderProps = {
children: React.ReactNode;
db: LocalLiveAppDB;
};
export type LiveAppContextType = {
state: LiveAppManifest[];
addLocalManifest: (LiveAppManifest) => void;
removeLocalManifestById: (string) => void;
getLocalLiveAppManifestById: (string) => LiveAppManifest | undefined;
};