You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I've translated your code to TypeScript and simplified it in the process.
I've also added a couple of extra Props: fontFamily, fontSize, switchMargin which was hardcoded to 6, btnBorderWidth which was hardcoded to 1 and btnBorderRadius which was hardcoded to switchBorderRadius.
Feel free to test it and/or merge it into your repo.
Thanks for your work!
Hey, I've translated your code to TypeScript and simplified it in the process.
I've also added a couple of extra Props: fontFamily, fontSize, switchMargin which was hardcoded to 6, btnBorderWidth which was hardcoded to 1 and btnBorderRadius which was hardcoded to switchBorderRadius.
Feel free to test it and/or merge it into your repo.
Thanks for your work!
The text was updated successfully, but these errors were encountered: