import { FC } from 'react';

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

const IconGift: FC<IconGiftProps> = ({ className, fill = false, duotone = true }) => {
    return (
        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" className={className}>
            <g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5">
                <path opacity={duotone ? '0.5' : '1'} stroke-linecap="round" d="M4 11v4c0 3.3 0 4.95 1.025 5.975S7.7 22 11 22h2c3.3 0 4.95 0 5.975-1.025S20 18.3 20 15v-4"/>
                <path opacity={duotone ? '0.5' : '1'} d="M3 9c0-.748 0-1.122.201-1.4a1.4 1.4 0 0 1 .549-.44C4.098 7 4.565 7 5.5 7h13c.935 0 1.402 0 1.75.16c.228.106.417.258.549.44C21 7.878 21 8.252 21 9s0 1.121-.201 1.4a1.4 1.4 0 0 1-.549.44c-.348.16-.815.16-1.75.16h-13c-.935 0-1.402 0-1.75-.16a1.4 1.4 0 0 1-.549-.44C3 10.121 3 9.748 3 9Zm3-5.214C6 2.799 6.8 2 7.786 2h.357A3.857 3.857 0 0 1 12 5.857V7H9.214A3.214 3.214 0 0 1 6 3.786Zm12 0C18 2.799 17.2 2 16.214 2h-.357A3.857 3.857 0 0 0 12 5.857V7h2.786A3.214 3.214 0 0 0 18 3.786Z"/>
                <path opacity={duotone ? '0.5' : '1'} stroke-linecap="round" d="M12 11v11"/>
            </g>
        </svg>
    );
};

export default IconGift;
