UNPKG

applesauce-react

Version:

React hooks for applesauce

8 lines (7 loc) 409 B
import { PropsWithChildren } from "react"; import { AccountManager } from "applesauce-accounts"; export declare const AccountsContext: import("react").Context<AccountManager<any> | undefined>; /** Provides an AccountManager to the component tree */ export declare function AccountsProvider({ manager, children }: PropsWithChildren<{ manager?: AccountManager; }>): import("react/jsx-runtime").JSX.Element;