woocommerce/plugins/woocommerce-admin/docs/components/analytics
Timmy Crawford 610f179679 Release v0.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/1551)
* Bumping version to 0.7.0 and updating docs.

* updates to package-lock.json
2019-02-14 09:24:02 -08:00
..
README.md Report components docs (https://github.com/woocommerce/woocommerce-admin/pull/1140) 2018-12-22 12:46:10 +01:00
report-chart.md Release v0.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/1551) 2019-02-14 09:24:02 -08:00
report-error.md Report components docs (https://github.com/woocommerce/woocommerce-admin/pull/1140) 2018-12-22 12:46:10 +01:00
report-summary.md Release v0.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/1551) 2019-02-14 09:24:02 -08:00
report-table.md Release v0.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/1551) 2019-02-14 09:24:02 -08:00

README.md

Analytics Components

This folder contains components internally used by wc-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 }
    />
  );
}