From 517b968f437921ad2729bb2fffd4c2736c77138a Mon Sep 17 00:00:00 2001 From: somonus <312677182@qq.com> Date: Wed, 2 Nov 2016 15:44:47 +0800 Subject: [PATCH] update --- example/index.android.js | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/example/index.android.js b/example/index.android.js index 59a2c94..09f3c91 100755 --- a/example/index.android.js +++ b/example/index.android.js @@ -11,35 +11,23 @@ import { Text, View } from 'react-native'; -import Echarts from 'native-echarts'; +import { Router, Route } from './src'; +import Test from './test'; +import Demo from './demo'; export default class app2 extends Component { render() { - const option = { - title: { - text: 'ECharts 入门示例' - }, - tooltip: {}, - legend: { - data:['销量'] - }, - xAxis: { - data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"] - }, - yAxis: {}, - series: [{ - name: '销量', - type: 'bar', - data: [5, 20, 36, 10, 10, 20] - }] - }; return ( - - - Welcome to React Native Echarts! - - - + + + + + + + + + + ); } }