Skip to content

vikrambiwal/react-native-image-arc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This npm used to make arc of image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published