Closed sami616 closed 4 years ago
FocusLock will also generate a div, which you will not able to style. It would be not a great solution. However, I reckon nobody target that secondary div with exact CSS rules, and we could remove...
Would changing the fragment you have wrapping your components to a div and applying a className prop to that work?
There is no such thing as "work" - there are different use cases, and it would work for one, and not for another. I am already trying to keep only one div, it would be logical to apply className on, but it requires changes to all sub-libraries use by this one.
Closing in favor of #31
Hello i couldn't find a contributing guide but i've made the basic changes to pass the classname prop down to the most outer div in the component for easier styling based on the issue i filed
Fixes #29