woocommerce/plugins/woocommerce-admin/client/header/activity-panel/activity-header
Sam Seay 77906db0ff 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 Home Screen - migrated orders panel (https://github.com/woocommerce/woocommerce-admin/pull/5455) 2020-11-06 14:21:05 +13:00
index.js Future proof experimental components (https://github.com/woocommerce/woocommerce-admin/pull/5961) 2021-01-07 18:57:09 -05: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.