2025-02-21 19:54:48 +08:00

24 lines
1.3 KiB
TypeScript

import { FC } from 'react';
interface IconSunProps {
className?: string;
}
const IconSun: FC<IconSunProps> = ({ className }) => {
return (
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
<circle cx="12" cy="12" r="5" stroke="currentColor" strokeWidth="1.5" />
<path d="M12 2V4" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
<path d="M12 20V22" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
<path d="M4 12L2 12" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
<path d="M22 12L20 12" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
<path opacity="0.5" d="M19.7778 4.22266L17.5558 6.25424" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
<path opacity="0.5" d="M4.22217 4.22266L6.44418 6.25424" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
<path opacity="0.5" d="M6.44434 17.5557L4.22211 19.7779" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
<path opacity="0.5" d="M19.7778 19.7773L17.5558 17.5551" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" />
</svg>
);
};
export default IconSun;