Skip to content

Instantly share code, notes, and snippets.

@Jahans3
Created July 4, 2017 14:17
Show Gist options
  • Save Jahans3/0acd531bcd44d47ffb66f9dc783e14a3 to your computer and use it in GitHub Desktop.
Save Jahans3/0acd531bcd44d47ffb66f9dc783e14a3 to your computer and use it in GitHub Desktop.
export default class BarcodeCaptureView extends Component {
constructor () {
super()
this.state = {
captured: false
}
this._onBarCodeRead = this._onBarCodeRead.bind(this)
this._onCancel = this._onCancel.bind(this)
this.renderScanArea = this.renderScanArea.bind(this)
StatusBar.setBarStyle('light-content')
}
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment