/* global React */
// Lucide icon helper — renders <i data-lucide> and relies on root calling lucide.createIcons().
function Icon({ name, size = 20, stroke = 1.75, color, style = {} }) {
  return (
    <i
      data-lucide={name}
      width={size}
      height={size}
      style={{ display: 'inline-flex', color: color || 'currentColor', lineHeight: 0, ...style }}
    />
  );
}
window.Icon = Icon;
