import { PaymentElement as StripePaymentElement } from '@stripe/react-stripe-js'
import type { ReactElement } from 'react'

/**
 * PSP-neutral card-field mount. Under StripePaymentProvider → renders Stripe <PaymentElement>.
 * Propless v1 — appearance/locale flow through the provider (§2). No className escape hatch
 * (token discipline enforced by mod-ui-enforcement on the impl).
 */
export function PaymentElement(): ReactElement {
  return <StripePaymentElement />
}