UNPKG

@blocklet/payment-react

Version:

Reusable react components for payment kit v2

20 lines (19 loc) 445 B
import { jsx } from "react/jsx-runtime"; import { Typography } from "@mui/material"; export default function PaymentAmount({ amount, sx = {} }) { return /* @__PURE__ */ jsx( Typography, { component: "div", sx: { my: 0.5, fontWeight: 600, fontSize: "2.1875rem", letterSpacing: "-0.03rem", fontVariantNumeric: "tabular-nums", ...sx }, children: amount } ); }