Skip to content

Evaluate removing className prop from components #6

Open
@omonteon

Description

The issue with having that prop is that we are using css modules in this project.
And you can pass as prop a class with the same name, you can end up with html like this:

<div class="_card_1vxfd_1 _card_1v4l8_48">

The names of the classes are still unique, but it looks like you make a mistake.

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions