From d26f7e20a1b35066d45b294c1ec6f96a6948cb5c Mon Sep 17 00:00:00 2001 From: Mian Jawad Ahmad Date: Tue, 21 Jul 2020 03:38:42 +0500 Subject: [PATCH 1/3] Update the support of percentage in documentation The support of percentage is added two years ago --- docs/height-and-width.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/height-and-width.md b/docs/height-and-width.md index 282b7af0197..215ce2fe2fe 100644 --- a/docs/height-and-width.md +++ b/docs/height-and-width.md @@ -7,7 +7,7 @@ A component's height and width determine its size on the screen. ## Fixed Dimensions -The general way to set the dimensions of a component is by adding a fixed `width` and `height` to style. All dimensions in React Native are unitless, and represent density-independent pixels. +The general way to set the dimensions of a component is by adding a fixed `width` and `height` to style. All dimensions in React Native are not unitless it support percentage, and represent density-independent pixels. ```SnackPlayer name=Height%20and%20Width import React from 'react'; From 83bb54e31055584a65bbd21b523cadd8b2473331 Mon Sep 17 00:00:00 2001 From: Mian Jawad Ahmad Date: Tue, 21 Jul 2020 03:44:59 +0500 Subject: [PATCH 2/3] Update height-and-width.md --- docs/height-and-width.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/height-and-width.md b/docs/height-and-width.md index 215ce2fe2fe..6aaf5be391a 100644 --- a/docs/height-and-width.md +++ b/docs/height-and-width.md @@ -7,7 +7,7 @@ A component's height and width determine its size on the screen. ## Fixed Dimensions -The general way to set the dimensions of a component is by adding a fixed `width` and `height` to style. All dimensions in React Native are not unitless it support percentage, and represent density-independent pixels. +The general way to set the dimensions of a component is by adding a fixed `width` and `height` to style. All dimensions in React Native are not unitless its support percentage and represent density-independent pixels. ```SnackPlayer name=Height%20and%20Width import React from 'react'; From cfbd39b557c045551912aacf1e075d3db4667bc4 Mon Sep 17 00:00:00 2001 From: Mian Jawad Ahmad Date: Tue, 21 Jul 2020 03:46:42 +0500 Subject: [PATCH 3/3] Update height-and-width.md --- docs/height-and-width.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/height-and-width.md b/docs/height-and-width.md index 6aaf5be391a..74d79d14b63 100644 --- a/docs/height-and-width.md +++ b/docs/height-and-width.md @@ -7,7 +7,7 @@ A component's height and width determine its size on the screen. ## Fixed Dimensions -The general way to set the dimensions of a component is by adding a fixed `width` and `height` to style. All dimensions in React Native are not unitless its support percentage and represent density-independent pixels. +The general way to set the dimensions of a component is by adding a fixed `width` and `height` to style. All dimensions in React Native are not unitless it supports percentage and represents density-independent pixels. ```SnackPlayer name=Height%20and%20Width import React from 'react';