Files
Checkmate/client/src/Components/design-elements/Icon.tsx
T
2026-02-20 18:13:39 +00:00

20 lines
322 B
TypeScript

import type { LucideIcon } from "lucide-react";
interface IconProps {
icon: LucideIcon;
size?: number;
strokeWidth?: number;
stroke?: string;
}
const Icon = ({ icon: Icon, size = 20, strokeWidth = 1.5 }: IconProps) => {
return (
<Icon
size={size}
strokeWidth={strokeWidth}
/>
);
};
export default Icon;