react-native-custom-qr-codes
react-native-custom-qr-codes copied to clipboard
Possible way to set a tintColor for the logo
Is there a possible way to set a tintColor for the Logo? Or could we add something like that?
@DreadCube Could probably pass all image style props into the component with a new logoProps
property, all the way through to the <Image/> that renders the logo. Don't have time right now but might have a look in a while.
The fix I'm imagining would involve:
- Adding
logoProps
topropTypes
anddefaultProps
inQRCode.js
- Adding
{...this.logoProps}
to the<Image/>
indisplayLogo()
ofQRCode.js
.