diff --git a/.eslintignore b/.eslintignore index 384cd66..1c7d503 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,3 +4,4 @@ Example/android/ ios/ Example/ios/ screenShoots/ +Example diff --git a/index.js b/index.js index 7e8c563..fff2c1e 100644 --- a/index.js +++ b/index.js @@ -171,8 +171,8 @@ export default class Barcode extends PureComponent { - if (typeof(this.props.text) != "undefined") { - {this.props.text} + if (typeof(this.props.text) != 'undefined') { + {this.props.text} } ); diff --git a/package.json b/package.json index d2cbfc4..fe7a5da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-barcode-builder", - "version": "1.0.3", + "version": "1.0.4", "description": "", "repository": { "type": "git",