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

Commit

Permalink
Merge pull request #62 from peterp/pp-small-updates
Browse files Browse the repository at this point in the history
Pp small updates
  • Loading branch information
peterp authored Sep 5, 2020
2 parents 49ae7ff + 77cb011 commit 8146e09
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 240 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__tests__
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Federico Martín Alconada Verzini (https://github.com/fedealconada)
Havens (https://github.com/havenS)
Dajaffe (https://github.com/dajaffe)
Michael O'Connor Havens (https://github.com/seeocon)
"abscess" (https://github.com/seeocon)
4 changes: 2 additions & 2 deletions Tags/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const Input = (props) => {
/>
</View>
);

};

export {Input};
export { Input };
export default Input;
18 changes: 9 additions & 9 deletions Tags/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ class Tags extends React.Component {
return renderTag(tagProps);
})}

{!readonly
&& maxNumberOfTags > this.state.tags.length
&&
<Input
value={this.state.text}
onChangeText={this.onChangeText}
onSubmitEditing={this.onSubmitEditing}
{...this.props}
/>
{!readonly
&& maxNumberOfTags > this.state.tags.length
&&
<Input
value={this.state.text}
onChangeText={this.onChangeText}
onSubmitEditing={this.onSubmitEditing}
{...this.props}
/>
}

</View>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
}
}
}
Loading

0 comments on commit 8146e09

Please sign in to comment.