echarts-reacting

DEMO:

Usage no npm install needed!

<script type="module">
  import echartsReacting from 'https://cdn.skypack.dev/echarts-reacting';
</script>

README

DEMO:

import Echart from 'echarts-reacting';

export default function(props){
    return <Echart 
        style={{ width: "33%", height: 400, marginLeft: 35 }} 
        option={{
            something:'something in echarts.option'
        }}
        onClick={()=>console.log('clicked')}
    />;
};