baseweb icon indicating copy to clipboard operation
baseweb copied to clipboard

allow to set border for checkbox even if checkbox is checked

Open Freundschaft opened this issue 4 years ago • 2 comments

right now its not possible to theme a checkbox like this:

image

which is as far as I can see due to this line of code

https://github.com/uber/baseweb/blob/7ebcc1c740a1db8f1ada94a734561f156dc6b8dd/src/checkbox/styled-components.js#L28

it would be nice if we could set an option somehow to enable borders even when the checkbox is checked.

Freundschaft avatar Jan 31 '21 13:01 Freundschaft

@chasestarr I would like to work on this too :)

karanisverma avatar May 21 '21 06:05 karanisverma

@Freundschaft apparently you can achieve that. I was trying to solve this issue and got this => image

tap0212 avatar Jun 02 '21 20:06 tap0212