
import styles from './Step.module.css';

export const Step = ( {number = 1, head = "Шаг первый", children} ) => {
    return (
        <div className={styles.row}>
            <span className={styles.number}>{number}</span>
            <div className={styles.column}>
                <h1 className={styles.head} dangerouslySetInnerHTML={{__html: head}} />
                {children}
            </div>
        </div>
    )
}