UNPKG

@whop/react

Version:

React SDK for building embedded apps on Whop

7 lines (6 loc) 317 B
import type { NextConfigObject, WhopAppOptions } from "./types"; export declare function withWhopAppConfig<C extends NextConfigObject>(next: C | ((phase: string, args: { defaultConfig: C; }) => C | Promise<C>), whopAppOptions?: WhopAppOptions): (phase: string, defaults: { defaultConfig: C; }) => Promise<C>;