@worldcoin/minikit-js
Version:
minikit-js is our SDK for building mini-apps.
18 lines (15 loc) • 472 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { ReactNode } from 'react';
type MiniKitProps = {
appId?: string;
wagmiConfig?: unknown;
};
type MiniKitContextValue = {
isInstalled: boolean | undefined;
};
declare const MiniKitProvider: ({ children, props, }: {
children: ReactNode;
props?: MiniKitProps;
}) => react_jsx_runtime.JSX.Element;
declare const useMiniKit: () => MiniKitContextValue;
export { MiniKitProvider, useMiniKit };