woocommerce/plugins/woocommerce-admin/client/layout/activity-panel/activity-header
Justin Shreve 3783e5e6f7 Add ActivityHeader & implement panel styles (https://github.com/woocommerce/woocommerce-admin/pull/167)
* Header shadow on scroll, panel styles, implement woo bubble

* Add ActivityHeader component

* Fix admin bar stickyness and missing onInvoke function
2018-07-09 11:46:31 -04:00
..
README.md Add ActivityHeader & implement panel styles (https://github.com/woocommerce/woocommerce-admin/pull/167) 2018-07-09 11:46:31 -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 'components/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.