react-native-anchor-point
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,3 @@ | ||
import { TransformsStyle } from "react-native"; | ||
export interface Point { | ||
@@ -25,3 +27,3 @@ x: number; | ||
export const withAnchorPoint = (transform, anchorPoint: Point, size: Size) => { | ||
export const withAnchorPoint = (transform: TransformsStyle, anchorPoint: Point, size: Size) => { | ||
if (!isValidPoint(anchorPoint)) { | ||
@@ -28,0 +30,0 @@ return transform; |
{ | ||
"name": "react-native-anchor-point", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "I provide a util function to inject anchor point, or called pivot point into your transform object, to achieve 3D transform animation in React-Native. This is similar to web transform-origin in React-Native. ", | ||
@@ -22,4 +22,5 @@ "main": "index.ts", | ||
"eslint": "^7.0.0", | ||
"eslint-plugin-react": "^7.20.0" | ||
"eslint-plugin-react": "^7.20.0", | ||
"react-native": "^0.62.2" | ||
} | ||
} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2816345
353
0
5