5c8cfbc03f
* Extend docs to report components * Improve inline documentation in some files * Update doc files * Undo unnecessary doc changes * Remove unnecessary line breaks in sidebar * Rename 'Client components' to 'Analytics components' * Minor docs fixes * Rename toc contents to toc sections * Update endpoint props doc to add an example and more information * Fix outdated comment * Fix merge error |
||
---|---|---|
.. | ||
README.md | ||
report-chart.md | ||
report-error.md | ||
report-summary.md | ||
report-table.md |
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 }
/>
);
}