dec97d178e
* Importing all components from a root components file * Update Ratings component to avoid circular dependencies, fix tests * Export components on `wc.components`, use this for importing * Move react-dates initialize to the components file * Push query changes to history Fixes an issues where native a links do not update the query in `history` * Update test config for new @woocommerce/components path * Update chart components import * Merge simple/complex & alphabetize by first exported name * Add a readme with info about how to call these components |
||
---|---|---|
.. | ||
README.md | ||
index.js | ||
style.scss |
README.md
ActivityHeader
A component designed for use in the activity panel. It returns a title and can optionally also include a component like dropdown or Ellipsis menu.
How to use:
import ActivityHeader from 'layout/activity-panel/activity-header';
render: function() {
return (
<ActivityHeader
title="Orders"
/>
);
}
Props
title
: A title for this card (required).className
: Additional class names.menu
: A dropdown menu (EllipsisMenu) shown at the top-right of the card.