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

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

export function LineVerticalIcon({ variant = 'regular', ...props }: LineVerticalIconProps) {
  const src = (() => {
    switch (variant) {
      default:
      case 'regular':
        return <svg fill="currentColor" viewBox="0 0 256 256"><path d="M136 24v208a8 8 0 0 1-16 0V24a8 8 0 0 1 16 0" /></svg>
      case 'thin':
        return <svg fill="currentColor" viewBox="0 0 256 256"><path d="M132 24v208a4 4 0 0 1-8 0V24a4 4 0 0 1 8 0" /></svg>
      case 'fill':
        return <svg fill="currentColor" viewBox="0 0 256 256"><path d="M208 32H48a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16m-72 160a8 8 0 0 1-16 0V64a8 8 0 0 1 16 0Z" /></svg>
    }
  })()

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