UNPKG

expo-custom-switch

Version:

Custom theme toggle with a universal Switch component

50 lines (33 loc) 1.96 kB
<h1 align="center">Welcome to the Expo Custom Switch 👋</h1> <p align="center"> <a aria-label="made with expo" href="https://github.com/expo" target="_blank"> <img src="https://img.shields.io/badge/MADE%20WITH%20EXPO-000.svg?style=for-the-badge&logo=expo&labelColor=4630eb&logoWidth=20"> </a> <a href="https://github.com/kopax" aria-label="Follow Kopax on Github" target="_blank"> <img alt="Github: kopax" src="https://img.shields.io/github/followers/kopax.svg?label=Follow&style=for-the-badge&logo=github&logoColor=FFFFFF&labelColor=24292e&logoWidth=20&color=lightgray" target="_blank" /> </a> <a href="/LICENSE" target="_blank"> <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge" target="_blank" /> </a> </p> Based on a component from the home screen of [twizzle](https://twizzle.app/) by [@thekitze](https://twitter.com/thekitze). Converted to Expo for use in iOS, Android, and Web apps by [@EvanBacon](https://twitter.com/baconbrix) with [expo-dark-mode-switch](https://github.com/EvanBacon/expo-dark-mode-switch). <p> <a href="https://twitter.com/DimitriKopriwa" target="_blank"> <img alt="Twitter: DimitriKopriwa" src="https://img.shields.io/twitter/follow/dimitrikopriwa.svg?style=for-the-badge&logo=TWITTER&logoColor=FFFFFF&labelColor=00aced&logoWidth=20&color=lightgray" target="_blank" /> </a> </p> ## Install ```sh yarn add expo-custom-switch # or npm install --save expo-custom-switch ``` ## Documentation and live demo Read [expo-custom-switch documentation](https://yeutech-lab.github.io/expo-custom-switch). ## 🤝 Contributing Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/yeutech-lab/expo-custom-switch/issues). ## Show your support Give a ⭐️ if this project helped you! ## 📝 License Copyright © 2020 Yeutech Company Limited This project is [MIT](/LICENSE.md) licensed.