time-switch-react-native
v0.0.1
Published
A time/toggle switch for react native, it works on Android, iOS and web(react-native-web)
Downloads
3
Maintainers
Readme
Time Switch Component for react native, it works on Android, iOS and Web (react-native-web).
Content
Installation
If you're using npm
- Using npm
npm i time-switch-react-native --save
- Using yarn
yarn add time-switch-react-native --save
- Import it into your project
import TimeSwitch from "time-switch-react-native";
Demo
To Get Started, Import time-switch-react-native
to your .js/.ts/.tsx/.jsx file.
import TimeSwitch from 'time-switch-react-native'
Inside your component's render method, or any other method returning views, use TimeSwitch:
<TimeSwitch />
Contribution
If you encountered an Issue, please add a screenshot of the bug or a code snippet.
Quickest way to solve issue is to reproduce it on the example project
Pull requests are welcome. If you want improve something, feel free to create an issue and discuss it first.
MIT Licensed