import React from 'react';
import styles from './StepTitle.module.css';

interface StepTitleProps {
  number: number;
  text: string;
}

const StepTitle: React.FC<StepTitleProps> = ({ number, text }) => {
  return (
    <div className={styles.stepTitle}>
      <span className={styles.stepNumber}>{number}</span>
      <span className={styles.stepText}>{text}</span>
    </div>
  );
};

export default StepTitle;
