reactnativevhvw
Advanced tools
Comparing version 1.4.0 to 1.5.0
{ | ||
"name": "reactnativevhvw", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Ditto of CSS vh and vw for React Native.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -6,6 +6,5 @@ import { Dimensions } from 'react-native'; | ||
* CSS vh ditto. Returns in pixels a fraction of the viewport height. | ||
* Call this.global.styles.vh() | ||
* | ||
* @param {Number} percentage | ||
* @return {Number} percentage of the window view height | ||
* @return {Number} percentage of the window view height in value of pixels. | ||
*/ | ||
@@ -29,6 +28,5 @@ vh: (percentage) => { | ||
* CSS vw ditto. Returns in pixels a fraction of the viewport width. | ||
* Call this.global.styles.vw() | ||
* | ||
* @param {Number} percentage | ||
* @return {Number} percentage of the window view width | ||
* @return {Number} percentage of the window view width in value of pixels. | ||
*/ | ||
@@ -35,0 +33,0 @@ vw: (percentage) => { |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
1478
40
1