react-native-animation-switch
Advanced tools
Comparing version 0.0.2 to 0.0.3
11
index.js
'use strict'; | ||
import { | ||
NativeModules, | ||
Platform | ||
} from 'react-native'; | ||
import { NativeModules } from 'react-native'; | ||
const nativeModule = NativeModules.RCTAnimationSwitch; | ||
const AnimationSwitch = NativeModules.AnimationSwitch; | ||
export function setAnimationsEnabled(flag) { | ||
nativeModule.setAnimationsEnabled(flag); | ||
} | ||
export default AnimationSwitch; |
{ | ||
"name": "react-native-animation-switch", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "an animation switch for react native", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
10747
3