open-index/open-npm huggingface dataset:
npm package: @sunxingzhe/react-native-alipay
Description: React Native Alipay
Author: sunxingzhe
Latest version: 1.0.5

# react-native-alipay

## Getting started

`$ npm install react-native-alipay --save`

### Mostly automatic installation

`$ react-native link react-native-alipay`

## Usage
```javascript
import Alipay from 'react-native-alipay';

// TODO: What to do with the module?
Alipay;
```
npm package: @sunxingzhe/react-native-contacts
Description: React Native Contacts
Author: sunxingzhe
Latest version: 1.0.3

# react-native-contacts

## Getting started

`$ npm install react-native-contacts --save`

### Mostly automatic installation

`$ react-native link react-native-contacts`

## Usage
```javascript
import Contacts from 'react-native-contacts';

// TODO: What to do with the module?
Contacts;
```
npm package: @sunxingzhe/react-native-getui
Description: React Native Getui Push
Author: sunxingzhe
Latest version: 1.1.34

# react-native-getui-push

## Getting started

`$ npm install react-native-getui-push --save`

### Mostly automatic installation

`$ react-native link react-native-getui-push`

## Usage
```javascript
import GetuiPush from 'react-native-getui-push';

// TODO: What to do with the module?
GetuiPush;
```
npm package: @sunxingzhe/react-native-switch-app-icon
Description: React Native Switch App Icon
Author: sunxingzhe
Latest version: 1.0.5

# react-native-switch-app-icon

## Getting started

`$ npm install react-native-switch-app-icon --save`

### Mostly automatic installation

`$ react-native link react-native-switch-app-icon`

## Usage
```javascript
import SwitchAppIcon from 'react-native-switch-app-icon';

// TODO: What to do with the module?
SwitchAppIcon;
```
npm package: @sunxingzhe/react-native-update
Description: React Native Update
Author: sunxingzhe
Latest version: 1.0.8

# react-native-update

## Getting started

`$ npm install react-native-update --save`

### Mostly automatic installation

`$ react-native link react-native-update`

## Usage
```javascript
import Update from 'react-native-update';

// TODO: What to do with the module?
Update;
```
npm package: @sunxinle/react-native-echarts
Description: 用react-native的webview 封装一层echarts, forked from somonus/react-native-echarts
Author: sunxinle
Latest version: 1.3.0

# native-echarts

[![NPM Version](https://img.shields.io/npm/v/native-echarts.svg?style=flat)](https://www.npmjs.org/package/native-echarts)
  [![npm](https://img.shields.io/npm/dm/native-echarts.svg?style=flat)](https://www.npmjs.org/package/native-echarts)
  [![License](http://img.shields.io/npm/l/native-echarts.svg?style=flat)](https://raw.githubusercontent.com/somonus/react-native-echarts/master/LICENSE.md)
  
## install

$ npm install native-echarts --save

## Usage

The Usage is complete consistent with Echarts

component props:

* *option* (object): The option for echarts: [Documentation](http://echarts.baidu.com/option.html#title)。 
* *width* (number): The width of the chart. The default value is the outer container width. 
* *height* (number): The height of the chart. The default value is 400. 


```js
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
import Echarts from 'native-echarts';

export default class app extends Component {
  render() {
    const option = {
      title: {
          text: 'ECharts demo'
      },
      tooltip: {},
      legend: {
          data:['销量']
      },
      xAxis: {
          data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]
      },
      yAxis: {},
      series: [{
          name: '销量',
          type: 'bar',
          data: [5, 20, 36, 10, 10, 20]
      }]
    };
    return (
      <Echarts option={option} height={300} />
    );
  }
}

AppRegistry.registerComponent('app', () => app);

```



##Example

*run demo*

```
cd example
npm install
npm start
```

### IOS

Open the xcode project in the ios directory and click run

screenshots：

![image](https://github.com/somonus/react-native-echarts/blob/master/example/demoIOS.png)

### Android

Open the Android project in the android directory with Android Studio and click run.

screenshots：

![image](https://github.com/somonus/react-native-echarts/blob/master/example/demoAndroid.png)

## License

native-echarts is released under the MIT license.