Skip to content

Commit 8c5799f

Browse files
committed
chore: fix eslint warning
1 parent c7fff31 commit 8c5799f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ Example/android/
44
ios/
55
Example/ios/
66
screenShoots/
7+
Example

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ export default class Barcode extends PureComponent {
171171
<Surface height={this.props.height} width={this.state.barCodeWidth}>
172172
<Shape d={this.state.bars} fill={this.props.lineColor} />
173173
</Surface>
174-
if (typeof(this.props.text) != "undefined") {
175-
<Text style={{color: this.props.textColor, width: this.state.barCodeWidth, textAlign: "center"}} >{this.props.text}</Text>
174+
if (typeof(this.props.text) != 'undefined') {
175+
<Text style={{color: this.props.textColor, width: this.state.barCodeWidth, textAlign: 'center'}} >{this.props.text}</Text>
176176
}
177177
</View>
178178
);

0 commit comments

Comments
 (0)