1.0.7 • Published 3 years ago

react-native-custom-scanner v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

react-native-custom-scanner

QR and Bar code Scanner for both android and ios

Installation

npm install react-native-custom-scanner

Usage

import { CustomScanner } from 'react-native-custom-scanner';

const bottomContent = () => {
    return <View style={{ margin: 10, width: '100%', borderRadius: 5, alignItems: 'center' }}>
      <TouchableOpacity style={styles.buttonStyle} onPress={() =>{} }>
        <Text style={{ color: '#fff' }}>Stop Scan</Text>
      </TouchableOpacity>
    </View>
  }

 <CustomScanner bottomContent={() => bottomContent()} styles={styles} onSuccessAction={(scanData: string) => console.log(scanData)} />

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

ISC

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago