(props)
| 3 | import styles from "./Header.module.css"; |
| 4 | |
| 5 | const Header = (props) => { |
| 6 | const backgroundStyle = { |
| 7 | Projects: styles.projects, |
| 8 | Experience: styles.experience, |
| 9 | Involvements: styles.involvements, |
| 10 | Achievements: styles.achievements, |
| 11 | }; |
| 12 | return ( |
| 13 | <Container |
| 14 | fluid |
| 15 | className={`${styles.container} ${backgroundStyle[props.title]}`} |
| 16 | > |
| 17 | <Row> |
| 18 | <h1 className={styles.headingOne}>{props.title}</h1> |
| 19 | </Row> |
| 20 | </Container> |
| 21 | ); |
| 22 | }; |
| 23 | |
| 24 | export default Header; |
nothing calls this directly
no outgoing calls
no test coverage detected