export const getStatusColorClass = (status: String) => {
    // Replace these mappings with your actual class names
    if (status === 'Completed') {
        return 'text-success ';
    }
    if (status === 'Pending') {
        return 'text-warning';
    }
    if (status === 'Processing') {
        return 'text-primary';
    }
    if (status === 'InDelivery') {
        return ' text-info ';
    }
    if (status === 'Failed') {
        return 'text-danger';
    }
    if (status === 'Canceled') {
        return 'text-dark';
    }
};

//'Pending', 'Processing', 'In Delivery', 'Completed', 'Failed', 'Canceled'
export const getStatus = () => {
    return [
        {
            key: 'Processing',
            label: 'Processing',
        },
        {
            key: 'InDelivery',
            label: 'In Delivery',
        },
        {
            key: 'Completed',
            label: 'Completed',
        },
        {
            key: 'Failed',
            label: 'Failed',
        },
        {
            key: 'Canceled',
            label: 'Canceled',
        },
    ];
};
