New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-native-dark-mode-switch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-dark-mode-switch

Dark-mode theme toggle with a universal Switch component

latest
Source
npmnpm
Version
0.0.0-alpha.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to the React Native Dark Mode Switch 👋

Product: demo

Github: evanbacon License: MIT

Based on a component from the home screen of twizzle by @thekitze. Converted to Expo for use in iOS, Android, and Web apps.

Twitter: baconbrix Twitter: kitze

Install

yarn add react-native-dark-mode-switch && expo install react-native-svg

# or

npm install --save react-native-dark-mode-switch && expo install react-native-svg

Example

import * as React from 'react';
import Switch from 'react-native-dark-mode-switch';

export default function App() {
  const [value, setValue] = React.useState(true);
  return <Switch value={value} onChange={value => setValue(value)} />;
}

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Evan Bacon.
This project is MIT licensed.

Keywords

expo

FAQs

Package last updated on 21 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts