Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertSasak committed Sep 30, 2019
1 parent 8db1cd6 commit 42e96a2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
4 changes: 3 additions & 1 deletion RNOpenALPRExample/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
bracketSpacing: false,
bracketSpacing: true,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
semi: false,
tabWidth: 4,
};
38 changes: 19 additions & 19 deletions RNOpenALPRExample/App.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
import React from 'react';
import {StyleSheet} from 'react-native';
import Camera from 'react-native-openalpr';
import React from 'react'
import { StyleSheet } from 'react-native'

import Camera from 'react-native-openalpr'

const App = () => {
console.log(Camera);
return (
<>
<Camera
showPlateOutline
aspects={Camera.constants.Aspect.fill}
style={styles.camera}
/>
</>
);
};
return (
<>
<Camera
showPlateOutline
aspects={Camera.constants.Aspect.fill}
style={styles.camera}
/>
</>
)
}

const styles = StyleSheet.create({
camera: {
flex: 1,
},
});
camera: {
flex: 1,
},
})

export default App;
export default App

0 comments on commit 42e96a2

Please sign in to comment.