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

19 lines
322 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;
2026-02-10 23:12:33 +00:00
stroke?: string;
2026-01-25 03:20:58 +00:00
}
const Icon = ({ icon: Icon, size = 20, strokeWidth = 1.5 }: IconProps) => {
2026-01-26 17:11:09 +00:00
return (
<Icon
size={size}
strokeWidth={strokeWidth}
/>
);
2026-01-25 03:20:58 +00:00
};
export default Icon;