react-native-qrcode-scanner
react-native-qrcode-scanner copied to clipboard
Don't render top and bottom content if it is not passed.
If I don't pass topContent or bottomContent, can it be not renderet at all? It looks like empty spaces and can't be removed via style.
Just set height = 0 for Top and Bottom.
topViewStyle={{height: 0, flex: 0}} bottomViewStyle={{height: 0, flex: 0}}
Just set height = 0 for Top and Bottom.
topViewStyle={{height: 0, flex: 0}} bottomViewStyle={{height: 0, flex: 0}}
It does not work for me!! my QRCodeScanner is in a view with flex:5.