Dark-mode theme toggle with a universal Switch component
npm install react-native-dark-mode-switch

Based on a component from the home screen of twizzle by @thekitze. Converted to Expo for use in iOS, Android, and Web apps.
``sh
yarn add react-native-dark-mode-switch && expo install react-native-svg
npm install --save react-native-dark-mode-switch && expo install react-native-svg
`
`tsx
import * as React from 'react';
import Switch from 'react-native-dark-mode-switch';
export default function App() {
const [value, setValue] = React.useState(true);
return
}
``
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 Evan Bacon.
This project is MIT licensed.