UNPKG

@whop/embedded-components-react-js

Version:

React components for Whop.js

12 lines (9 loc) 561 B
import { PayoutsSession as PayoutsSession$1, PayoutsSessionOptions } from '@whop/embedded-components-vanilla-js/types'; import React__default, { PropsWithChildren } from 'react'; declare function usePayoutsSession(): PayoutsSession$1 | null; declare function PayoutsSession({ children, currency, companyId, token, redirectUrl, ref, }: PropsWithChildren<PayoutsSessionOptions & { ref?: React__default.RefObject<{ payoutsSession: PayoutsSession$1 | null; } | null>; }>): React__default.JSX.Element; export { PayoutsSession, usePayoutsSession };