import React, { useEffect } from 'react';
import { Rose } from './index';
import RenderChart from '../RenderChart';


const Demo: React.FC<{}> = () => {
  const op = Rose({
    series: [{
      data: [
          {
          name: '法国<br /> 1234次 5%',
          y: 150,
          z: 150,
          color: 'red'
        },
        {
          name: '波兰<br /> 1234次 5%',
          y: 60,
          z: 60,
          color: 'blue'
        },
        {
          name: '德国<br /> 1234次 5%',
          y: 90,
          z: 90,
          color: 'gray'
        }
      ]
    }]
  });
  return <RenderChart option={op} />;
};

export { Demo };
