import { useId, type SVGProps } from 'react';

export type FeedIconProps = SVGProps<SVGSVGElement> & {
  /** Accessibility title for the icon, set aria-hidden="true" if the icon is purely decorative. */
  title?: string;
  /**
   * The size of the icon.
   * It sets the font-size, possible as the width and height is `1em`. If not set, the icon will inherit the font size of its parent.
   */
  size?: '2xl' | 'xl' | 'large' | 'medium' | 'small';
  /**
   * The color of the icon.
   * @default 'inherit'
   */
  color?: 'inherit' | 'primary' | 'gray' | 'black' | 'white';
};

export const FeedIcon = ({ title, size, color, ...props }: FeedIconProps) => {
  const titleId = useId();
  return (
    <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" focusable='false' role='img' width='1em' height='1em'  aria-labelledby={title ? titleId : undefined} data-size={size} data-color={color} {...props}>{title ? <title id={titleId}>{title}</title> : null}<path d="M20.99 16.744v1.5H9.041v-1.5zm0-5.492v1.5H9.041v-1.5zm0-5.242v1.5H9.041v-1.5zM4.503 12.752a.749.749 0 1 0 0-1.498.749.749 0 0 0 0 1.498" /><path d="M4.502 12.002v.002h.002v-.002zm1.5 0a1.5 1.5 0 0 1-2.99.154l-.008-.153.008-.154a1.5 1.5 0 0 1 1.49-1.345l.154.008a1.5 1.5 0 0 1 1.346 1.49M4.503 7.51a.749.749 0 1 0 0-1.499.749.749 0 0 0 0 1.498Z" /><path d="M4.502 6.76v.001h.002V6.76zm1.5 0a1.5 1.5 0 0 1-2.99.154l-.008-.154.008-.153a1.5 1.5 0 0 1 1.49-1.346l.154.008A1.5 1.5 0 0 1 6.002 6.76M4.503 18.244a.749.749 0 1 0 0-1.498.749.749 0 0 0 0 1.498" /><path d="M4.502 17.494v.002h.002v-.002zm1.5 0a1.5 1.5 0 0 1-2.99.154l-.008-.153.008-.154a1.5 1.5 0 0 1 1.49-1.345l.154.007a1.5 1.5 0 0 1 1.346 1.492Z" /></svg>
  );
};