Skip to content

Commit

Permalink
Merge pull request #31 from wonsikin/develop
Browse files Browse the repository at this point in the history
update version to v1.0.4
  • Loading branch information
wonsikin authored Mar 16, 2018
2 parents c7fff31 + d95d408 commit 6e6c9bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Example/android/
ios/
Example/ios/
screenShoots/
Example
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ export default class Barcode extends PureComponent {
<Surface height={this.props.height} width={this.state.barCodeWidth}>
<Shape d={this.state.bars} fill={this.props.lineColor} />
</Surface>
if (typeof(this.props.text) != "undefined") {
<Text style={{color: this.props.textColor, width: this.state.barCodeWidth, textAlign: "center"}} >{this.props.text}</Text>
if (typeof(this.props.text) != 'undefined') {
<Text style={{color: this.props.textColor, width: this.state.barCodeWidth, textAlign: 'center'}} >{this.props.text}</Text>
}
</View>
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-barcode-builder",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"repository": {
"type": "git",
Expand Down

0 comments on commit 6e6c9bc

Please sign in to comment.