18 lines
442 B
TypeScript
18 lines
442 B
TypeScript
interface IconProps {
|
|
className?: string;
|
|
}
|
|
|
|
export function EyeIcon({ filled, className = 'w-3.5 h-3.5' }: IconProps & { filled: boolean }) {
|
|
return (
|
|
<svg
|
|
className={className}
|
|
viewBox="0 0 24 24"
|
|
fill={filled ? 'currentColor' : 'none'}
|
|
stroke="currentColor"
|
|
strokeWidth={2}
|
|
>
|
|
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" />
|
|
<circle cx="12" cy="12" r="3" />
|
|
</svg>
|
|
);
|
|
}
|