Skip to content

Multiple classes in prefixCls prop #188

@benkeen

Description

@benkeen

Hey! Great project.

Would there be any interest in a PR to allow the prefixCls prop to support multiple classes? The reason we need this is that (a) we want to scope our CSS classes in our own fashion using CSS modules (so prefixCls is perfect for that!) but (b) we also we need to append classes for our automation team so they can reliably target those elements for selenium. The two classes need to be separate - one for styling, one for targeting.

It's a very small change - just a single helper to construct the classes. I'd be happy to put something in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions