Closed lbraun closed 3 years ago
This seems like a cool thing to support.
As you say, we can either create a new borderRadius
prop, or create a couple of style props for the different html-tags. I played around a little bit to get a feel for the first option and made a PR for it here: #50 which probably won't get merged. The latter option is probably better long term because it adds more flexibility. I'll take a look at that soon.
Awesome, thanks!
I ended up implementing the borderRadius property PR.
Thank you for this package. Would it be possible to add a prop to customize the border radius, to allow for squarer switches, e.g. like this?:
Alternatively a more direct way to style the handle and background would be nice, i.e. what was proposed in #15 .