From 3d620a6d4515673f9319e72e1ac03f5a352cbb92 Mon Sep 17 00:00:00 2001 From: Tasos Maroudas Date: Tue, 5 Mar 2019 22:49:38 +0200 Subject: [PATCH] Update README with more information about new capabilities --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c3bb220..8000023 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ Check out [this medium article](https://medium.com/react-native-training/build-r * There are 2 more methods to use if you want to support responsiveness along with orientation change. These are `listenOrientationChange` and `removeOrientationListener`. To see how to use them, check example number 3. * You can use this package along with `styled-components`. To see how to do that, check example number 2. -# Update 🚀 -* `widthPercentageToDP` and `heightPercentageToDP` methods accept numeric values now. +# Updates 🚀 +* `widthPercentageToDP` and `heightPercentageToDP` methods accept numeric values as well from version 1.2.1 onwards. That being said a width of 53% can now be written both `width: widthPercentageToDP('53%')` and `width: widthPercentageToDP(53)`. # Examples