Example to Set Border Radius of an Image in React Native

Опубликовано: 10 Март 2019
на канале: Skptricks
1,658
7

Example to Set Border Radius of an Image in React Native

Post Link : https://www.skptricks.com/2019/03/exa...

NOTE : This is a demo after the post tutorial, to get complete information about this post/demo please do visit this blog (www.skptricks.com)
In this tutorial, we are going to explain how to set border radius on an images in react native application. if you remember a month back we have shared demo on React Native to display or show Border Around Images, similarly here we are going to implement for setting border radius of an images. Lets get started.

Set Border In React Native component :
Using below CSS properties you can set border width and color in react native component.
borderWidth : This will set border width.
borderColor : This will set border color.

Set Border Radius In React Native component :
Using below CSS properties you can set border radius around image in react native application.
borderColor: '#F44336', // Set border Hex Color code here.
borderRadius: 10 // Set border Radius.