import { Typography } from '@mui/material' import styles from './PaymentLabel.module.scss' /** * Define the state of the component properties injected from a parent component */ interface PaymentLabelProps { /** Name of the payment method */ title: string /** Optional description of the payment method */ description?: string /** Optional message of the payment method */ extraMessage?: string } /** * Label component used by Blocks checkout registry * @param param Component properties */ const PaymentLabelComponent: React.FC = ({ title, description, extraMessage }) => { return (
{title} {description} {extraMessage}
) } export default PaymentLabelComponent