Conditional Classes
Unanswered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
<header className={`${styles.main_header} ${isScrolled ? 'active' : ''}`}>
this is not working how can i fix conditional classes work
<header className={`${styles.main_header} ${isScrolled ? 'active' : ''}`}>