woocommerce/plugins/woocommerce-admin/docs/components/analytics
Jeff Stieler a0efb6967f Fetch component usage documentation from local README.md.
Format documentation like Calypso, include usage section.
2019-09-06 11:52:18 -07:00
..
README.md Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795) 2019-03-13 11:14:02 -06:00
report-chart.md Fetch component usage documentation from local README.md. 2019-09-06 11:52:18 -07:00
report-error.md Fetch component usage documentation from local README.md. 2019-09-06 11:52:18 -07:00
report-summary.md Fetch component usage documentation from local README.md. 2019-09-06 11:52:18 -07:00
report-table.md Fetch component usage documentation from local README.md. 2019-09-06 11:52:18 -07:00

README.md

Analytics Components

This folder contains components internally used by woocommmerce-admin.

How to use:

Analytics components can be imported by their relative or absolute path.

import ReportChart from 'analytics/components/report-chart';

render: function() {
  return (
    <ReportChart
      charts={ charts }
      endpoint={ endpoint }
      path={ path }
      query={ query }
      selectedChart={ selectedChart }
    />
  );
}