12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import React, {Component} from 'react';
- import {View, Text, StyleSheet, TextInput} from 'react-native';
- import QRCode from 'react-native-qrcode-svg';
- export default class invoice_qrcode extends Component {
- constructor(props) {
- super(props);
- this.state = {
- listData: [],
- product_number_total: 0,
- amount_total: 0.0,
- tax_rate_total: 0.0,
- text: '2132132132',
- };
- }
- render() {
- return (
- <View style={styles.container}>
- <QRCode
- size={300}
- value="Just some string value"
- logoSize={30}
- logoBackgroundColor="transparent"
- />
- </View>
- );
- }
- }
- const styles = StyleSheet.create({
- container: {
- flex: 1,
- backgroundColor: 'white',
- alignItems: 'center',
- justifyContent: 'center',
- },
- input: {
- height: 40,
- borderColor: 'gray',
- borderWidth: 1,
- margin: 10,
- borderRadius: 5,
- padding: 5,
- },
- });
|