woocommerce/plugins/woocommerce-admin/client/components/order-status/example.md

12 lines
270 B
Markdown

```jsx
import { OrderStatus } from '@woocommerce/components';
const MyOrderStatus = () => (
<div>
<OrderStatus order={ { status: 'processing' } } />
<OrderStatus order={ { status: 'pending' } } />
<OrderStatus order={ { status: 'completed' } } />
</div>
);
```