// Stroked, editorial icons. Use sparingly.
const Icon = {
  Arrow: ({size=14, ...p}) => (
    <svg width={size} height={size} viewBox="0 0 20 20" fill="none" {...p}>
      <path d="M4 10h12M11 5l5 5-5 5" stroke="currentColor" strokeWidth="1.4" strokeLinecap="square" />
    </svg>
  ),
  ArrowUpRight: ({size=14, ...p}) => (
    <svg width={size} height={size} viewBox="0 0 20 20" fill="none" {...p}>
      <path d="M6 14L14 6M7 6h7v7" stroke="currentColor" strokeWidth="1.4" strokeLinecap="square" />
    </svg>
  ),
  Github: ({size=16, ...p}) => (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="currentColor" {...p}>
      <path d="M12 .5C5.65.5.5 5.65.5 12c0 5.09 3.29 9.4 7.86 10.93.58.1.79-.25.79-.56 0-.28-.01-1.02-.02-2-3.2.7-3.87-1.54-3.87-1.54-.52-1.33-1.27-1.69-1.27-1.69-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.76 2.68 1.25 3.33.95.1-.74.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.7 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.04 0 0 .97-.31 3.18 1.18a11 11 0 015.8 0c2.2-1.49 3.17-1.18 3.17-1.18.63 1.58.24 2.75.12 3.04.73.81 1.18 1.84 1.18 3.1 0 4.43-2.7 5.41-5.27 5.69.41.36.78 1.06.78 2.14 0 1.55-.01 2.8-.01 3.18 0 .31.21.67.8.56C20.22 21.4 23.5 17.09 23.5 12 23.5 5.65 18.35.5 12 .5z"/>
    </svg>
  ),
  Play: ({size=22, ...p}) => (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="currentColor" {...p}>
      <path d="M7 4.5v15l13-7.5-13-7.5z"/>
    </svg>
  ),
  Plus: ({size=14, ...p}) => (
    <svg width={size} height={size} viewBox="0 0 20 20" fill="none" {...p}>
      <path d="M10 3v14M3 10h14" stroke="currentColor" strokeWidth="1.4" strokeLinecap="square" />
    </svg>
  ),
  Check: ({size=14, ...p}) => (
    <svg width={size} height={size} viewBox="0 0 20 20" fill="none" {...p}>
      <path d="M4 10.5l3.5 3.5L16 6" stroke="currentColor" strokeWidth="1.6" strokeLinecap="square" strokeLinejoin="miter"/>
    </svg>
  ),
  Star: ({size=14, ...p}) => (
    <svg width={size} height={size} viewBox="0 0 20 20" fill="currentColor" {...p}>
      <path d="M10 1.5l2.47 5.5 5.93.6-4.45 4 1.25 5.9L10 14.7l-5.2 2.8 1.25-5.9-4.45-4 5.93-.6L10 1.5z"/>
    </svg>
  ),
};
window.Icon = Icon;
