Package Exports
- @v3ron/react-native-circular-slider
- @v3ron/react-native-circular-slider/build/index.js
- @v3ron/react-native-circular-slider/build/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@v3ron/react-native-circular-slider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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 (b@gryszko.com)
Forked and maintained by: Szymon Chmal (szymon@chmal.it)
License
MIT