Home > Enterprise >  How to invert borderRadius in React Native?
How to invert borderRadius in React Native?

Time:01-04

I am trying to achieve this shaped <View> or <Svg>.

Note:- I dont want to used this shaped image. The image should get masked on the shape.

CodePudding user response:

check this example using SVG and Path tweek the path to get the proper output that you want

][1]

CodePudding user response:

You can just ask the designer to send it in SVG and use this package: https://github.com/react-native-community/react-native-svg

or

Create shape using CSS, follow the link - https://codedaily.io/tutorials/The-Shapes-of-React-Native

  • Related