1.0.4 • Published 5 years ago

react-native-image-arc v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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:

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>

SVG example

props:

NameDefaultDescription
fill25The fill prop refers degree amount to show.
size200Square size.
imagenullObject of image
startAngle0Start angle of arc