UNPKG

@coursebuilder/commerce-next

Version:

Commerce Functionality for Course Builder with Next.js

39 lines 1.33 kB
import * as React from 'react'; import type { Purchase } from '@coursebuilder/core/schemas'; type InvoiceTeaserContextType = { purchase: Purchase; }; export declare const InvoiceTeaserProvider: React.FC<InvoiceTeaserContextType & { children: React.ReactNode; }>; export declare const useInvoiceTeaser: () => InvoiceTeaserContextType; type RootProps = InvoiceTeaserContextType & { className?: string; asChild?: boolean; }; declare const Root: React.FC<React.PropsWithChildren<RootProps>>; type TitleProps = { asChild?: boolean; className?: string; }; declare const Title: React.FC<React.PropsWithChildren<TitleProps>>; type AmountProps = { className?: string; }; declare const Amount: React.FC<React.PropsWithChildren<AmountProps>>; type DateProps = { className?: string; }; declare const IssueDate: React.FC<React.PropsWithChildren<DateProps>>; type MetadataProps = { className?: string; }; declare const Metadata: React.FC<React.PropsWithChildren<MetadataProps>>; type LinkProps = { className?: string; asChild?: boolean; }; declare const Link: React.FC<React.PropsWithChildren<LinkProps>>; declare const InvoiceTeaserComp: React.FC<InvoiceTeaserContextType>; export { Root, Title, IssueDate, Amount, Metadata, Link, InvoiceTeaserComp }; //# sourceMappingURL=invoice-teaser.d.ts.map