import { FC } from 'react';

interface IconTruckProps {
    className?: string;
    fill?: boolean;
    duotone?: boolean;
}

const IconTruck: FC<IconTruckProps> = ({ className, fill = false, duotone = true }) => {
    return (
        <>
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" className={className}>
                <g fill="none" stroke="currentColor" strokeWidth="1.5">
                    <path opacity={duotone ? '0.5' : '1'} d="M19.5 17.5a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Zm-10 0a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0Z" />
                    <path opacity={duotone ? '0.5' : '1'} strokeLinecap="round" strokeLinejoin="round" d="M14.5 17.5h-5m5.5-2V7c0-1.414 0-2.121-.44-2.56C14.122 4 13.415 4 12 4H5c-1.414 0-2.121 0-2.56.44C2 4.878 2 5.585 2 7v8c0 .935 0 1.402.201 1.75a1.5 1.5 0 0 0 .549.549c.348.201.815.201 1.75.201m11-11h1.801c.83 0 1.245 0 1.589.195c.344.194.557.55.984 1.262l1.699 2.83c.212.354.318.532.373.728c.054.197.054.403.054.816V15c0 .935 0 1.402-.201 1.75a1.5 1.5 0 0 1-.549.549c-.348.201-.815.201-1.75.201M6.5 7v4m4-4v4" />
                </g>
            </svg>
        </>
    );
};

export default IconTruck;
