{"repo":"shipt/segmented-arc-for-react-native","free":true,"listed":false,"github":"https://github.com/shipt/segmented-arc-for-react-native","clone":"git clone https://github.com/shipt/segmented-arc-for-react-native.git","description":"Segmented arc component for React Native","language":"JavaScript","stars":104,"topics":["react-native","arc","segmented-arc","segmented-gauge"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Segmented Arc for React Native Segmented arc component for React Native. Check out our documentation below to learn how to get started. Example app demo Table of Contents - Installation - Usage - Props - Attributions - Contributing - Maintainers - Versioning - License - Notice - Security 🚀 Installation There are two steps to get this package up and running. 1. Install react-native-svg library by following their instructions. 2. Install @shipt/segmented-arc-for-react-native : or if you prefer to use npm: 🎉 Usage Here is a basic example of how to use this component. It covers all the main features. Try this example yourself here. Custom segment sizing If you would like to adjust the sizing of the segments individually, just provide the arcDegreeScale property on segments whose size you'd like to control. Segments without an arcDegreeScale will be equally sized for the remainder of the arc. Invalid props handling The library can automatically convert invalid props (e.g., scale = NaN or scale = 0) to valid numbers to prevent your app from crashing. To detect these adjustments, use the onDataError and dataErrorComponent props. Additionally, warnings may be shown in development mode to help prevent these errors. 📖 Props Name Type Default Description --------------------------- --------------------------------------------------------------------------------------------------------- ------------------------------------------ --------------------------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/shipt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shipt/segmented-arc-for-react-native/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}