UNPKG

@datalayer/core

Version:
33 lines (32 loc) 598 B
import type { ICheckoutPortal } from '../../models'; /** * Price item interface */ export interface IPrice { /** * Price ID */ id: string; /** * Price user readable name */ name: string; /** * Cost in cents */ amount: number; /** * Cost currency */ currency: string; /** * Computational credits to receive */ credits: number; } /** * Stripe checkout. */ export declare function StripeCheckout({ checkoutPortal }: { checkoutPortal: ICheckoutPortal | null; }): import("react/jsx-runtime").JSX.Element;