Files
Checkmate/client/src/Components/v2/design-elements/Icon.tsx
T

13 lines
289 B
TypeScript
Raw Normal View History

2026-01-25 03:20:58 +00:00
import type { LucideIcon } from "lucide-react";
interface IconProps {
icon: LucideIcon;
size?: number;
strokeWidth?: number;
}
const Icon = ({ icon: Icon, size = 20, strokeWidth = 1.5 }: IconProps) => {
return <Icon size={size} strokeWidth={strokeWidth} />;
};
export default Icon;