initial commit
This commit is contained in:
commit
2e0cbc254c
174 changed files with 27742 additions and 0 deletions
14
resources/js/components/ui/icon.tsx
Normal file
14
resources/js/components/ui/icon.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { LucideIcon } from 'lucide-react';
|
||||
|
||||
interface IconProps {
|
||||
iconNode?: LucideIcon | null;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function Icon({ iconNode: IconComponent, className }: IconProps) {
|
||||
if (!IconComponent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <IconComponent className={className} />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue