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

export type AiNeutralIconProps = 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 AiNeutralIcon = ({ title, size, color, ...props }: AiNeutralIconProps) => {
  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="M9.055 13a1.245 1.245 0 1 0 0-2.49 1.245 1.245 0 0 0 0 2.49m5.89 0a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5" /><path d="M12 3a3.699 3.699 0 0 1 3.62 2.945h3.91v5.305H21v1.5h-1.47V21H4.476v-8.25H3v-1.5h1.476V5.945H8.38A3.699 3.699 0 0 1 12 3M5.976 19.5H18.03V7.445H5.976zm8.97-3.83v1.5H9.054v-1.5h5.89ZM12 4.5c-.947 0-1.754.603-2.06 1.445h4.12A2.196 2.196 0 0 0 12 4.5" /></svg>
  );
};