({ isDark, children })
| 3 | import styles from './Section.module.css' |
| 4 | |
| 5 | export default function Section({ isDark, children }) { |
| 6 | return ( |
| 7 | <section className={[styles.section, ...(isDark ? [styles.darkSection, 'darkSection'] : [])].join(' ')}> |
| 8 | <div className="container"> |
| 9 | <div className="row"> |
| 10 | {children} |
| 11 | </div> |
| 12 | </div> |
| 13 | </section> |
| 14 | ) |
| 15 | } |
| 16 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…