/**
 * @file 水球图
 * @author  yangzhong01
 * @date 2021/4/28
 */

import React, {memo} from 'react';
import ReactEchartsCore from 'echarts-for-react/lib/core';
import echarts from 'echarts/lib/echarts';
import 'echarts/lib/component/tooltip';
import 'echarts/lib/component/grid';
import 'echarts-liquidfill/src/liquidFill.js'

export default memo(props => {
  const {option = {}, style} = props;
  return (
    <ReactEchartsCore
      echarts={echarts}
      option={option}
      notMerge={true}
      lazyUpdate={true}
      style={style}
    />
  );
})
