woocommerce/plugins/woocommerce-admin/docs/components/analytics
Ron Rennick f78c143f3b Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204)
* move in-house rest endpoints to private namespace

* PHPCS sniff fixes
2019-11-12 14:15:55 -04: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 Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04:00
report-table.md Move in-house rest endpoints to private namespace (https://github.com/woocommerce/woocommerce-admin/pull/3204) 2019-11-12 14:15:55 -04: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 }
    />
  );
}