woocommerce/plugins/woocommerce-admin/docs/components/packages/order-status.md

338 B

OrderStatus (component)

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

Props

order

  • Required
  • Type: Object
  • Default: null

The order to display a status for.

className

  • Type: String
  • Default: null

Additional CSS classes.