import { FC } from 'react';

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

const IconPulse: FC<IconPulseProps> = ({ className, fill = false, duotone = true }) => {
    return (
        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 16 16" className={className}>
            <path opacity={duotone ? '0.5' : '1'} fill="currentColor" d="M6 2c.306 0 .582.187.696.471L10 10.731l1.304-3.26A.75.75 0 0 1 12 7h3.25a.75.75 0 0 1 0 1.5h-2.742l-1.812 4.528a.751.751 0 0 1-1.392 0L6 4.77L4.696 8.03A.75.75 0 0 1 4 8.5H.75a.75.75 0 0 1 0-1.5h2.742l1.812-4.529A.75.75 0 0 1 6 2" />
        </svg>
    );
};

export default IconPulse;
