loading...

React Native Border Radius with background color Example

skptricks profile image skptricks ・1 min read

Post Link : React Native Border Radius with background color Example

This tutorial explains how to add border radius and background color in Image Component 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.

React Native Border Radius with background color Example

continue reading...

Posted on by:

skptricks profile

skptricks

@skptricks

Welcome to skptricks, I have written and developed this site so that Learner may learn computer science related technologies and various programming ...

Discussion

pic
Editor guide