# react-native-starrating

> a react-native component for display interactive star ratings

Latest version **1.0.1** (published 2016-06-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-starrating
pnpm add react-native-starrating
yarn add react-native-starrating
bun add react-native-starrating
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-06-03 |
| First published | 2016-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27 |
| Author | bluesky0109（https://github.com/bluesky0109) |
| Maintainers | bluesky0109 |
| Keywords | react, native, star, rating |

## Links

- npm: https://www.npmjs.com/package/react-native-starrating
- Repository: https://github.com/bluesky0109/react-native-starRating
- Homepage: https://github.com/bluesky0109/react-native-starRating#readme
- Issues: https://github.com/bluesky0109/react-native-starRating/issues
- npm.io page: https://npm.io/package/react-native-starrating

## Dependencies (1)

- [react-native](https://npm.io/package/react-native.md) ^0.25.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-06-03
- 1.0.0 — 2016-01-29

## README

# react-native-starRating
react native starRatin component

# Installation

npm install react-native-starrating --save

# Usage

Install the package via npm install react-native-starrating --save. Then import it in your JavaScript file via import StarRating from 'react-native-starrating'. Check out an example usage below:

```js
import StarRating from 'react-native-starrating';

class ExampleComponent extends React.Component{
  onStarRatingPress(value) {
    console.log('Rated ' + value + ' stars!');
  }
  render() {
    return (
      <StarRating
        maxStars={5}
        rating={3}
        disabled={false}
        starSize={15}
        onStarChange={(value) => this.onStarRatingPress(value)}
      />
    );
  }
}
```

---
_Source: https://npm.io/package/react-native-starrating · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
