@v3ron/react-native-circular-slider
v2.0.0
Published
React Native component for creating circular slider
Downloads
238
Maintainers
Readme
@v3ron/react-native-circular-slider
This is a fork of react-native-circular-slider by Bartosz Gryszko meant to improve the original library.
Feel free to suggest more changes in the issues section of the repository.
Usage
- Install the package and its peer dependency:
yarn add @v3ron/react-native-circular-slider react-native-svg
- Import the component:
import { CircularSlider} from '@v3ron/react-native-circular-slider';
- Render the component:
<CircularSlider
startAngle={startAngle}
angleLength={angleLength}
onUpdate={({ startAngle, angleLength }) => setState({ startAngle, angleLength })}
/>
Author
Original author: Bartosz Gryszko ([email protected])
Forked and maintained by: Szymon Chmal ([email protected])
License
MIT