import { SVGAttributes } from 'react';

/**
 * Props a custom SVG icon must accept to sit in the same registry as the Lucide set.
 * Mirrors Lucide's own `LucideProps` shape (`size` drives width/height, `color` paints,
 * `strokeWidth` is accepted and may be ignored by a solid-fill mark) so `AppIcon` can
 * render every registry entry through one uniform call.
 */
export interface IconProps extends Omit<SVGAttributes<SVGElement>, 'color'> {
  color?: string;
  icon?: string;
  size?: string | number;
  /** Accepted for contract parity with Lucide; a solid-fill brand mark ignores it. */
  strokeWidth?: string | number;
  title?: string;
}
