woocommerce/plugins/woocommerce-admin/client/header/activity-panel/activity-header
David Levin a53c618138 Update analytics card header text styles (https://github.com/woocommerce/woocommerce-admin/pull/6506)
* Update analytics card header text styles

* Add changelog entry

* Replace snapshot tests

Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2021-08-13 15:06:32 -04:00
..
README.md Home Screen - migrated orders panel (https://github.com/woocommerce/woocommerce-admin/pull/5455) 2020-11-06 14:21:05 +13:00
index.js Update analytics card header text styles (https://github.com/woocommerce/woocommerce-admin/pull/6506) 2021-08-13 15:06:32 -04:00
style.scss Use sass-migrator to migrate division to math.div (https://github.com/woocommerce/woocommerce-admin/pull/7136) 2021-06-10 17:09:27 +08:00

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="Reviews"
    />
  );
}

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.