Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Better README instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Aug 11, 2018
1 parent 1fb1e58 commit b3e365e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Federico Martín Alconada Verzini (https://github.com/fedealconada)
Havens (https://github.com/havenS)
Dajaffe (https://github.com/dajaffe)
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,7 +20,7 @@ yarn add react-native-tags

## Usage

```javascript
```jsx
import React from "react";
import Tags from "react-native-tags";

Expand All @@ -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 |
Expand Down

0 comments on commit b3e365e

Please sign in to comment.