Skip to content

Repository with a simple implementation using animations and typescript to built a animated switch, or toggle component

Notifications You must be signed in to change notification settings

lucasGabrielDeAA/react-native-animated-switch

Repository files navigation

react-native-animated-switch

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

Dark mode screenshot Light mode screenshot

About

Repository with a simple implementation using animations and typescript to built a animated switch, or toggle component

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published