9cc4e1b97a | ||
---|---|---|
.. | ||
README.md | ||
index.js | ||
style.scss |
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.