Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Possibility of Resizing Switch and How? #9

Open
eugene-zheng0208 opened this issue Feb 20, 2018 · 4 comments
Open

Possibility of Resizing Switch and How? #9

eugene-zheng0208 opened this issue Feb 20, 2018 · 4 comments

Comments

@eugene-zheng0208
Copy link

No description provided.

@andylacko
Copy link

please, I see height in library already implemented, but now it looks like this: getHeight(){return 30} , please can you finish this?

@eugene-zheng0208
Copy link
Author

I think, the size of the io-switch should be customizable by user, rather than fixed values...

@LucasYver
Copy link

LucasYver commented Feb 17, 2020

Hey,

The simplest way to resize it's tu use scale transform on style props, like :

style={{ transform: 'scale(0.8)' }}

@ehssamimi
Copy link

how can increase width with also fit thumb?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants