From b3e365e5513e1b17da82ea7479d05578a1f68db1 Mon Sep 17 00:00:00 2001 From: Peter Pistorius Date: Sat, 11 Aug 2018 19:31:24 +0200 Subject: [PATCH] Better README instructions. --- CONTRIBUTORS | 1 + README.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 8e6a91a..1b97ae5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,2 +1,3 @@ Federico Martín Alconada Verzini (https://github.com/fedealconada) Havens (https://github.com/havenS) +Dajaffe (https://github.com/dajaffe) \ No newline at end of file diff --git a/README.md b/README.md index 4d8f963..59d293c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ into a tag when a space or comma is entered. ## Installation ```terminal -npm install react-native-tags +npm install --save react-native-tags ``` ```terminal @@ -20,7 +20,7 @@ yarn add react-native-tags ## Usage -```javascript +```jsx import React from "react"; import Tags from "react-native-tags"; @@ -44,7 +44,7 @@ const UselessComponent = () => ( | initialTags | ['the', 'initial', 'tags'] | | onChangeTags | Fires when tags are added or removed | | onTagPress | Fires when tags are pressed | -| readonly | Removes the TextInput | +| readonly | Tags cannot be modified | | containerStyle | Style | | style | Style (`containerStyle` alias) | | inputStyle | Style |