AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

icon.tsx 314B

1234567891011121314
  1. import type { LucideIcon } from 'lucide-react';
  2. interface IconProps {
  3. iconNode?: LucideIcon | null;
  4. className?: string;
  5. }
  6. export function Icon({ iconNode: IconComponent, className }: IconProps) {
  7. if (!IconComponent) {
  8. return null;
  9. }
  10. return <IconComponent className={className} />;
  11. }