'use client'
import { FC } from 'react'

type Props = {
    orderId: number
}

const TrackCode: FC<Props> = ({ orderId }) => {
    return (
        <div className="mt-4 p-3 bg-gray-50 rounded-lg">
            <div className="flex items-center gap-2">
                <div className="text-[#7F7F7F] text-sm">کد پیگیری:</div>
                <div className="font-mono text-sm bg-white px-2 py-1 rounded border">
                    {orderId.toString().padStart(8, '0')}
                </div>
            </div>
        </div>
    )
}

export default TrackCode
