woocommerce/plugins/woocommerce-admin/client/components/order-status
Justin Shreve 9cc4e1b97a Add Order Status Component (https://github.com/woocommerce/woocommerce-admin/pull/214) 2018-07-17 09:11:13 -04:00
..
README.md Add Order Status Component (https://github.com/woocommerce/woocommerce-admin/pull/214) 2018-07-17 09:11:13 -04:00
index.js Add Order Status Component (https://github.com/woocommerce/woocommerce-admin/pull/214) 2018-07-17 09:11:13 -04:00
style.scss Add Order Status Component (https://github.com/woocommerce/woocommerce-admin/pull/214) 2018-07-17 09:11:13 -04:00

README.md

OrderStatus

Use OrderStatus to display a badge with human-friendly text describing the current order status.

How to use:

import OrderStatus from 'components/order-status';

render: function() {
  return (
	<OrderStatus
		order={ order }
	/>
  );
}

Props

  • order (required): The order to display a status for.
  • className: Additional CSS classes.