subtirelumihail / react-fullpage

A react implementation of fullpage.js
304 stars 105 forks source link

Custom className with CSS Modules is ignored #54

Open amerllica opened 6 years ago

amerllica commented 6 years ago

When I put className option for SectionsContainer and put its variable 'section-container', it works but When I use CSS Modules and put the className option as style['section-container'] it is ignored and the container div get the default className.

Also I imported styles:

import styles from './styles.css'

so It must work like react-slick. but it doesn't.