npm.io
1.0.4 • Published 7 years ago

react-native-image-arc

Licence
MIT
Version
1.0.4
Deps
2
Size
1.4 MB
Vulns
0
Weekly
0
Stars
10

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:
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

Keywords