woocommerce/plugins/woocommerce-admin/client/layout/sidebar/README.md

9 lines
331 B
Markdown
Raw Normal View History

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).