/* global React */
// Lucide icon — inline SVG via stroke=currentColor for tinting on any surface
const Icon = ({ name, size = 20, strokeWidth = 2, style = {} }) => (
  <img
    src={`https://unpkg.com/lucide-static@latest/icons/${name}.svg`}
    width={size}
    height={size}
    alt=""
    style={{
      display: "inline-block",
      verticalAlign: "middle",
      ...style,
    }}
  />
);
window.Icon = Icon;
