An open API service indexing awesome lists of open source software.

https://github.com/faichou/react-native-star-view

A rating star view !
https://github.com/faichou/react-native-star-view

Last synced: 6 months ago
JSON representation

A rating star view !

Awesome Lists containing this project

README

          

# react-native-star-view [![Build Status](https://travis-ci.org/FaiChou/react-native-star-view.svg?branch=master)](https://travis-ci.org/FaiChou/react-native-star-view) ![license](https://img.shields.io/github/license/mashape/apistatus.svg)

### How to use

Install package:

```
npm install --save react-native-star-view
# or
yarn add react-native-star-view
```

Import to your app:

```
import Star from 'react-native-star-view';
```

Use the component:

```
render() {
const starStyle = {
width: 100,
height: 20,
marginBottom: 20,
};
return (












);
}
```

### API

API name | Desc
---------------|----------------------------------------
score | score number, Required
totalScore | total score, default is 5, Optional
style | style of container, Optional