Files
Chief-spartan-117 2162084b95
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
INit
2025-09-28 19:55:43 +05:45

16 lines
404 B
TypeScript

import { cn } from '@/lib/utils';
import { type LucideProps } from 'lucide-react';
import { type ComponentType } from 'react';
interface IconProps extends Omit<LucideProps, 'ref'> {
iconNode: ComponentType<LucideProps>;
}
export function Icon({
iconNode: IconComponent,
className,
...props
}: IconProps) {
return <IconComponent className={cn('h-4 w-4', className)} {...props} />;
}