import { describe } from 'react-desc';

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