react-native-echarts-cus
Version:
echarts4.2的图表,实现echarts的各种图表, 本组件使用百度的echarts4.2 使用方法遵循native-echarts
14 lines (12 loc) • 335 B
JavaScript
import React, { Component } from 'react';
import { WebView, View } from 'react-native';
import { Container, Echarts } from './components';
export default class App extends Component {
render() {
return (
<Container width={this.props.width}>
<Echarts {...this.props} />
</Container>
);
}
}