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

270 B

import { OrderStatus } from '@woocommerce/components';

const MyOrderStatus = () => (
	<div>
		<OrderStatus order={ { status: 'processing' } } />
		<OrderStatus order={ { status: 'pending' } } />
		<OrderStatus order={ { status: 'completed' } } />
	</div>
);