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

Commit d585969

Browse files
committed
Bump NodeJS version in Travis.
1 parent 16b77aa commit d585969

File tree

3 files changed

+41
-252
lines changed

3 files changed

+41
-252
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
language: node_js
22
node_js:
3-
- "6"
3+
- "10"

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ yarn add react-native-tags
2323

2424
```jsx
2525
import React from "react";
26-
import { TouchableOpacity, View } from "react-native"
26+
import { TouchableOpacity, Text } from "react-native";
2727
import Tags from "react-native-tags";
2828

2929
const MyTagInput = () => (
@@ -40,7 +40,9 @@ const MyTagInput = () => (
4040
containerStyle={{ justifyContent: "center" }}
4141
inputStyle={{ backgroundColor: "white" }}
4242
renderTag={({ tag, index, onPress, deleteTagOnPress, readonly }) => (
43-
<TouchableOpacity key={`${tag}-${index}`} onPress={onPress}><Text>{tag}<Text></TouchableOpacity>
43+
<TouchableOpacity key={`${tag}-${index}`} onPress={onPress}>
44+
<Text>{tag}</Text>
45+
</TouchableOpacity>
4446
)}
4547
/>
4648
);

0 commit comments

Comments
 (0)