|
|
@@ -0,0 +1,23 @@ |
|
|
|
import styles from './StepsHeader.module.scss'; |
|
|
|
|
|
|
|
import { IonHeader, IonIcon } from '@ionic/react'; |
|
|
|
import { close } from 'ionicons/icons' |
|
|
|
|
|
|
|
interface Props { |
|
|
|
stepNumber: number; |
|
|
|
roundName: string; |
|
|
|
} |
|
|
|
|
|
|
|
const StepsHeader: React.FC<Props> = (props) => { |
|
|
|
return ( |
|
|
|
<div className={styles.header}> |
|
|
|
<div className={styles.heading}> |
|
|
|
<div className={styles.step}>Step {props.stepNumber}</div> |
|
|
|
<h3 className={styles.roundName}>{props.roundName}</h3> |
|
|
|
</div> |
|
|
|
<IonIcon icon={close}></IonIcon> |
|
|
|
</div> |
|
|
|
) |
|
|
|
} |
|
|
|
|
|
|
|
export default StepsHeader; |