🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

react-switch_case

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-switch_case - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+2
-2
package.json
{
"name": "react-switch_case",
"version": "1.0.0",
"version": "1.0.1",
"description": "react switch",
"main": "index.js",
"main": "react-switch-case.js",
"directories": {

@@ -7,0 +7,0 @@ "test": "tests"

# react-switchCase
switch for react
- npm install react-switch_case or yarn add react-switch_case
```
import Switch from 'react-switch-case'
import Switch from 'react-switch_case'
const Case=Switch.Case

@@ -19,4 +19,4 @@ function handle(value){

}
<span>其他内容</span>
<span>default case</span>
</Switch>
```