UNPKG

@whop/react

Version:

React SDK for building embedded apps on Whop

7 lines (6 loc) 331 B
import { createSdk } from "@whop/iframe"; import React, { type PropsWithChildren } from "react"; export type WhopIframeSdkProviderOptions = Parameters<typeof createSdk>[0]; export declare function WhopIframeSdkProvider({ children, options, }: PropsWithChildren<{ options?: WhopIframeSdkProviderOptions; }>): React.JSX.Element;