AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
| 1234567891011121314 |
- import type { 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} />;
- }
|