Skip to content

Passing a className attribute to the DIV #42

@michal-simon

Description

@michal-simon

First of all, thank you very much for this library. It helped us to implement this feature with so much ease. :)

Inline styles are very useful and gaining popularity over time as well. However, there are still many applications that traditionally prefer to manage all the styles with SCSS and pass to HTML well-named classes like ours. Unfortunately, this approach is not possible from my current understanding of the code of this component.

It would be very helpful to be able to pass an optional className property to the component and be able to alter the styles from there. For example, in our case, we need to add a z-index and some responsive behavior to it.

I saw it was discussed here #6, however, it would be great to at least understand a little bit better the reasons.

Thank you,
Michal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions