Use `borderRadius` of `viewStyle`
rbozan opened this issue · comments
Robin Bozan commented
Awesome library, using it for work right now. One suggestion:
Instead of trying to get the borderRadius of the child, also try to get it of viewStyle
. Currently I have to write the following:
<Shadow viewStyle={styles.shadowContainer} radius={styles.shadowContainer.borderRadius}>
Would be nice if this was automatically done already.
Bruno commented
That makes absolute sense! Tomorrow I will quickly implement and publish it.
Thanks for the suggestion! :-)