5

A Switch shim for react-native-web

 3 years ago
source link: https://reactnativeexample.com/a-switch-shim-for-react-native-web/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Switch

A Switch shim for react-native-web

Mar 09, 2022

1 min read

React Native Switch

A Switch shim for react-native-web.

If Platform.OS is not web, use native <Switch> instead.

Screen.Recording.2022-03-07.at.12.59.30.mov

import { Switch } from 'react-native-web-switch'

GitHub

View Github

Previous Post

PlatformColor for react-native-web

You might also like...

A fully customizable switch component for react native
03 March 2022
React Native customizable switch component library
30 November 2021
Custom component switch animated made with react native, Expo and Moti
29 November 2021

Subscribe to React Native Example for Android and iOS

Get the latest posts delivered right to your inbox


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK