This npm used to make arc of image
npm install react-native-image-arc react-native-svg
For react-native-svg
:
import {ImageArcMaker} from 'react-native-image-arc';
<View style={style}>
<ImageArcMaker image={require('./pizza.png')} size={200} fill={300} />
</View>
Name | Default | Description |
---|---|---|
fill | 25 | The fill prop refers degree amount to show. |
size | 200 | Square size. |
image | null | Object of image |
startAngle | 0 | Start angle of arc |