Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BarcodeScanner.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use strict';

import React, {
Component,
PropTypes,
Component
} from 'react';
import {
requireNativeComponent,
Expand All @@ -11,6 +10,7 @@ import {
} from 'react-native';

import Viewfinder from './Viewfinder';
import PropTypes from 'prop-types';

class BarcodeScannerView extends Component {
constructor(props) {
Expand Down
5 changes: 3 additions & 2 deletions Viewfinder.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, {
Component,
PropTypes,
Component
} from 'react';
import {
ActivityIndicator,
Expand All @@ -9,6 +8,8 @@ import {
View,
} from 'react-native';

import PropTypes from 'prop-types';

class Viewfinder extends Component {
constructor(props) {
super(props);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public List<NativeModule> createNativeModules(
return Collections.emptyList();
}

@Override
public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList();
}
Expand Down