import { describe } from 'react-desc';

export default (function (Element) {
  var DocumentedElement = describe(Element).description('Pie chart wrapper to chart.js Pie with grommet theming.\n       For all standard charting options, consult the chart.js docs\n      ').usage('\n      $ npm install grommet-controls\n \n      import { PieChart } from \'grommet-controls\';\n\n      <PieChart data={...} options={...} />\n    ');
  return DocumentedElement;
});