1.0.4 • Published 5 years ago
react-native-image-arc v1.0.4
react-native-image-arc
This npm used to make arc of image
1. Install
npm install react-native-image-arc react-native-svg
For react-native-svg
:
2. Usage
import {ImageArcMaker} from 'react-native-image-arc';
<View style={style}>
<ImageArcMaker image={require('./pizza.png')} size={200} fill={300} />
</View>
props:
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 |