You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm importing this package into another for my app where I use CSS modules and will wrap this carousel in another component. I'd like to not use global CSS, so my consuming Next.JS app doesn't take a direct dependency on this module.
Currently I can take the supplied CSS and bring that into my own CSS module and pass all the required classes into the components using className props. However the carousel will still output all the original CSS class references - this doesn't appear to break anything but does lead to references to classes that don't exist. Ideally I could use a parameter to disable the output of the default classes - a way of telling the carousel that I'll take ownership for the CSS.
Would that be possible? Is there a problem this will cause, something that is in the global CSS that I cannot currently provide via my own set of classes?
The text was updated successfully, but these errors were encountered:
I'm importing this package into another for my app where I use CSS modules and will wrap this carousel in another component. I'd like to not use global CSS, so my consuming Next.JS app doesn't take a direct dependency on this module.
Currently I can take the supplied CSS and bring that into my own CSS module and pass all the required classes into the components using
className
props. However the carousel will still output all the original CSS class references - this doesn't appear to break anything but does lead to references to classes that don't exist. Ideally I could use a parameter to disable the output of the default classes - a way of telling the carousel that I'll take ownership for the CSS.Would that be possible? Is there a problem this will cause, something that is in the global CSS that I cannot currently provide via my own set of classes?
The text was updated successfully, but these errors were encountered: