@blocklet/payment-react
Version:
Reusable react components for payment kit v2
11 lines (10 loc) • 402 B
TypeScript
import type { LiteralUnion } from 'type-fest';
type ModeType = LiteralUnion<'standalone' | 'inline' | 'popup' | 'inline-minimal' | 'popup-minimal', string>;
type Props = {
title: string;
description: string;
button?: string | React.ReactNode;
mode?: ModeType;
};
export default function PaymentError({ title, description, button, mode }: Props): import("react").JSX.Element;
export {};