input-number icon indicating copy to clipboard operation
input-number copied to clipboard

Multiple classes in `prefixCls` prop

Open benkeen opened this issue 7 years ago • 0 comments

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.

benkeen avatar Jul 11 '19 21:07 benkeen