{"repo":"bviebahn/react-native-star-rating-widget","free":true,"listed":false,"github":"https://github.com/bviebahn/react-native-star-rating-widget","clone":"git clone https://github.com/bviebahn/react-native-star-rating-widget.git","description":"A customizable, animated star rating component for React Native. Compatible with iOS, Android and Web. Written in Typescript.","language":"TypeScript","stars":234,"topics":["react-native"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-star-rating-widget A customizable, animated star rating component for React Native. Compatible with iOS, Android and Web. Written in Typescript. Installation 1. install react-native-star-rating-widget npm install react-native-star-rating-widget --save or yarn add react-native-star-rating-widget 2. if not already installed, add react-native-svg Usage This package exports an Interactive StarRating component Non-Interactive StarRatingDisplay component See example/src for more examples. Props StarRating Props Name Type Default Description ---------------------------- ---------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- --------------------------------------------------------------- rating number REQUIRED Rating Value. Should be between 0 and maxStars onChange (rating: number) = void REQUIRED called when rating changes maxStars number 5 number of stars starSize number 32 star size color string \"#fdd835\" star color emptyColor string same as color empty star color style object undefined optional style starStyle object undefined optional star style starContainerStyle object undefined optional star container style step \"full\" \\ \"half\" \\ \"quarter\" \"half\" step size for rating - full stars, half stars, or quarter stars enableSwiping boolean true enable or disable swiping onRatingStart (rating: number) = void undefined call","default_branch":null,"files":null,"tree":[],"storefront":"/r/bviebahn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bviebahn/react-native-star-rating-widget/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."}