Unable to hide component
Closed this issue · 4 comments
LeoIsasmendi commented
QRCode is unable to hide using style
<QRCode style={{visibility:"hidden"}} value={this.state.text} size={200} />
awesomejerry commented
We're not passing style
prop to the component currently. Can you wrap it with a component that you can control its style?
<View style={{visibility:"hidden"}}>
<QRCode />
</View>
LeoIsasmendi commented
Yes, I already did that after submitting this issue, but my question is why is not possible setting directly in the QRCode component instead of wrapping with a view? It's possible or a bug?
awesomejerry commented
It's possible. It looks like Svg
component can accpet style
prop. Would you like to submit a PR?
LeoIsasmendi commented
Sure no problem