I try to add class by module.scss by this do not work properly. I know that I have good path because adding innerHtml working.
import styles from './style.module.scss';
(...)
useEffect(() => {
document
.querySelector('.thisButtonAddClass')
.querySelector('div')
.querySelector('input')
.classList.add(styles.btn);
}, []);
Main problem is that I want to style react-mailchimp-subscribe and I have no clue how to access to the html tags.