1.0.7 • Published 1 year ago

react-native-custom-scanner v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago