How do I add an image border like this CSS in react native?
img {
border: 20px solid black;
border-image: url("xyzborderimage.jpg") 30 round;
border-radius: 2px;
height: 500px;
width: 250;
}
How do I add an image border like this CSS in react native?
img {
border: 20px solid black;
border-image: url("xyzborderimage.jpg") 30 round;
border-radius: 2px;
height: 500px;
width: 250;
}
Copyright © 2021 Jogjafile Inc.
You can use View Style Props with prefix name border, for example
borderWidth: 2, borderColor: 'red', borderRadius: 8
you can read more on this link https://reactnative.dev/docs/view-style-props