candlefinance/faster-image

Setting border radius just on top corners

Closed this issue · 2 comments

I am trying to set border radius on top but it's not working

`
<FasterImageView
source={{
url: meme.image,
resizeMode: 'contain',
}}
style={{
...styles.image,
borderTopLeftRadius: 10 ,
borderTopRightRadius: 10,
}}
/>

`

is it possible to add borderRadius just on top or just bottom?

I am trying to set border radius on top but it's not working

` <FasterImageView source={{ url: meme.image, resizeMode: 'contain', }} style={{ ...styles.image, borderTopLeftRadius: 10 , borderTopRightRadius: 10, }} />

`

is it possible to add borderRadius just on top or just bottom?

Good catch. Does it work on iOS if you add overflow: 'hidden'? I'll see if I can add this Saturday!

Nop, it doesn't work either.

Thank so much!

btw It is a great lib