react-native-echarts/src/index.js

14 lines
321 B
JavaScript
Raw Normal View History

2016-10-21 07:05:57 +00:00
import React, { Component } from 'react';
2016-10-21 07:54:29 +00:00
import { WebView, View } from 'react-native';
import { Container, Echarts } from './components'
2016-10-21 07:05:57 +00:00
export default class App extends Component {
render() {
return (
2016-10-21 07:54:29 +00:00
<Container width={this.props.width}>
<Echarts {...this.props} />
</Container>
2016-10-21 07:05:57 +00:00
);
}
}