29136ce44c
* Add an activity list component which will fetch and display the respective tabs’ content * Add currency and order calculation helpers from Calypso * Add date support to ActivityCard * Fix the product label when there’s only 1 product * Only display the orders on the orders tab * Remove demo component * PR feedback - Switch to function components - Check isLoading for showing loading state - use v3 of WC API - Remove getOrderShippingMethod (it’s not a tax-related function) - Switch to array.reduce - Add `|| 0` protect to all possible API-based calculations |
||
---|---|---|
.. | ||
README.md | ||
header.js | ||
index.js | ||
style.scss |
README.md
Sidebar
This component contains the sidebar content. This is shown on every page, but conditionally hidden behind a toggle button in the Header.
SidebarHeader
The SidebarHeader
component is used to separate timeline entries by date. It accepts a required label
prop (i.e. Today, Yesterday, 2 Days Ago, Last Week).