From 7683bd8447c9eb858f4bc45599940c35f5085719 Mon Sep 17 00:00:00 2001 From: mufaddalhamidofficial <49232863+mufaddalhamidofficial@users.noreply.github.com> Date: Fri, 31 Jul 2020 19:52:24 +0530 Subject: [PATCH] Update README.md Installation must be before Prototype and example --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e06493f..9f9d490 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,11 @@ Currently there are 3 predefined types: `url`, `phone` and `email`. All the props are passed down to a new `Text` Component if there is a matching text. If those are functions they will receive as param the value of the text. +## Install + +`npm install --save react-native-parsed-text` + + ## Proptypes `ParsedText` can receive [Text PropTypes](https://facebook.github.io/react-native/docs/text.html). @@ -140,10 +145,6 @@ const styles = StyleSheet.create({ ![](https://cloud.githubusercontent.com/assets/159813/11152673/d5fe86f0-89e8-11e5-8b5e-f3c06bdc1b6b.gif) -## Install - -`npm install --save react-native-parsed-text` - ## TODO * Add nested text parsing