woocommerce/plugins/woocommerce-admin/client/layout/activity-panel/activity-header
Justin Shreve 22028283ef Add Activity Panel Outbound Link Component (https://github.com/woocommerce/woocommerce-admin/pull/213)
* Activity Panel Outbound Link

* Address PR Feedback: Pass through additional props on ActivityOutboundLink, add comment for activity panel wrapping padding, fix README naming, and use $gap $gutter trick for outbound link padding.
2018-07-17 14:51:56 -04:00
..
README.md Add Activity Panel Outbound Link Component (https://github.com/woocommerce/woocommerce-admin/pull/213) 2018-07-17 14:51:56 -04:00
index.js Add ActivityHeader & implement panel styles (https://github.com/woocommerce/woocommerce-admin/pull/167) 2018-07-09 11:46:31 -04:00
style.scss Add ActivityHeader & implement panel styles (https://github.com/woocommerce/woocommerce-admin/pull/167) 2018-07-09 11:46:31 -04: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="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.