I wanna create a specific form with my view. The view is supposed to do this
But i struggling with react native.
Also my code
return StyleSheet.create({
parent: {
height: '30%',
width: '30%',
transform: [{ skewX: '50deg' }, { skewY: '65deg' }],
borderBottomStartRadius: 200,
borderBottomEndRadius: 200,
overflow: 'hidden',
},
child: {
flex: 12,
transform: [{ skewX: '10deg' }, { skewY: '50deg' }],
backgroundColor: 'blue',
alignItems: 'center',
justifyContent: 'center',
},
<View style={styles.parent}>
<View style={styles.child}></View>
</View>