import React from 'react'; import PropTypes from 'prop-types'; import { PieChart, Pie, Cell } from './../../../../components/recharts'; import colors from './../../../../colors'; const TinyDonutChart = (props) => { const data = [ {name: 'Group A', value: 40+Math.random()*100}, {name: 'Group B', value: Math.random()*100} ]; return ( ) }; TinyDonutChart.propTypes = { pieColor: PropTypes.string, strokeColor: PropTypes.string, pieBg: PropTypes.string }; TinyDonutChart.defaultProps = { pieColor: "primary", strokeColor: "white", pieBg: "200" }; export { TinyDonutChart };