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

Commit

Permalink
Prettier changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Sep 5, 2020
1 parent d973dc0 commit 2003dc7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
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

0 comments on commit 2003dc7

Please sign in to comment.