Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

397 B
Raw Blame
import classes from "./CheckoutStepTitle.module.scss";

interface CheckoutStepTitleProps {
    title: string;
    subtitle?: string;
}

export const CheckoutStepTitle = ({title, subtitle}: CheckoutStepTitleProps) => (
    <div className={classes.stepTitleBlock}>
        <h2 className={classes.title}>{title}</h2>
        {subtitle && <p className={classes.subtitle}>{subtitle}</p>}
    </div>
);