import React from 'react'; import { Badge, money } from '../../../packages/ui'; import { OrderActions } from './OrderActions'; import type { Order } from './order-types'; export function OrderTableRow({ order, role, onSelect, onTransition }: { order: Order; role: string; onSelect: (id: string) => void; onTransition: (id: string, status: string) => void }) { return {order.customer}{order.channel}{money(order.total)}{order.status}; }