import { FC } from 'react';

interface IconUserCheckProps {
    className?: string;
    fill?: boolean;
    duotone?: boolean;
}

const IconUserCheck: FC<IconUserCheckProps> = ({ className, fill = false, duotone = true }) => {
    return (
        <>
            {!fill ? (
                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" className={className}>
                    <g fill="none" stroke="currentColor" strokeWidth="1.5">
                        <circle cx="11" cy="6" r="4" />
                        <path opacity={duotone ? '0.5' : '1'} strokeLinecap="round" strokeLinejoin="round" d="m17 10.3l1.333 1.2L21 8.5" />
                        <path opacity={duotone ? '0.5' : '1'} strokeLinecap="round" d="M18.998 18q.002-.246.002-.5c0-2.485-3.582-4.5-8-4.5s-8 2.015-8 4.5S3 22 11 22c2.231 0 3.84-.157 5-.437" />
                    </g>
                </svg>
            ) : (
                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" className={className}>
                    <g fill="none" stroke="currentColor" strokeWidth="1.5">
                        <circle cx="11" cy="6" r="4" />
                        <path opacity={duotone ? '0.5' : '1'} strokeLinecap="round" strokeLinejoin="round" d="m17 10.3l1.333 1.2L21 8.5" />
                        <path opacity={duotone ? '0.5' : '1'} strokeLinecap="round" d="M18.998 18q.002-.246.002-.5c0-2.485-3.582-4.5-8-4.5s-8 2.015-8 4.5S3 22 11 22c2.231 0 3.84-.157 5-.437" />
                    </g>
                </svg>
            )}
        </>
    );
};

export default IconUserCheck;
