This repo contains a implementation of a native switch using react-native-animated
, and typescript
for
toggle between aplication's themes, using ThemeProvider from styled-components
.
Based on React Native Reanimated Switch
Installation
// Downloading the project
git clone https://github.com/lucasGabrielDeAA/react-native-animated-switch.git
cd react-native-animated-switch
// Installing dependencies
yarn
// FOR IOS's environment
cd ios && pod install && cd .. && yarn ios
// For Android's environment
yarn android