import { Icon, type IconProps } from '../../components/Icon.tsx'

export interface MapPinSimpleLineIconProps extends IconProps {
  variant?: 'regular' | 'thin' | 'fill'
}

export function MapPinSimpleLineIcon({ variant = 'regular', ...props }: MapPinSimpleLineIconProps) {
  const src = (() => {
    switch (variant) {
      default:
      case 'regular':
        return <svg fill="currentColor" viewBox="0 0 256 256"><path d="M216 208h-80v-72.58a56 56 0 1 0-16 0V208H40a8 8 0 0 0 0 16h176a8 8 0 0 0 0-16M88 80a40 40 0 1 1 40 40 40 40 0 0 1-40-40" /></svg>
      case 'thin':
        return <svg fill="currentColor" viewBox="0 0 256 256"><path d="M216 212h-84v-80.17a52 52 0 1 0-8 0V212H40a4 4 0 0 0 0 8h176a4 4 0 0 0 0-8M84 80a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44" /></svg>
      case 'fill':
        return <svg fill="currentColor" viewBox="0 0 256 256"><path d="M224 216a8 8 0 0 1-8 8H40a8 8 0 0 1 0-16h80v-72.58a56 56 0 1 1 16 0V208h80a8 8 0 0 1 8 8" /></svg>
    }
  })()

  return <Icon src={src} data-name="MapPinSimpleLine" {...props} />
}
