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

/**
 * Superscript icon - Superscript text formatting
 */
export function Superscript(props: IconProps) {
  return (
    <Icon {...props}>
      <path d="M22 7h-2v1h3v1h-4V7c0-.55.45-1 1-1h2V5h-3V4h3c.55 0 1 .45 1 1v1c0 .55-.45 1-1 1zM5.88 20h2.66l3.4-5.42h.12l3.4 5.42h2.66l-4.65-7.27L17.81 6h-2.68l-3.07 4.99h-.12L8.87 6H6.19l4.32 6.73L5.88 20z" />
    </Icon>
  )
}

export default Superscript
