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

export type AiHappyIconProps = 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 AiHappyIcon = ({ title, size, color, ...props }: AiHappyIconProps) => {
  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.054 12.994a1.243 1.243 0 1 0 0-2.487 1.243 1.243 0 0 0 0 2.487m5.886.005a1.248 1.248 0 1 0 0-2.497 1.248 1.248 0 0 0 0 2.497" /><path d="M11.994 3.012a3.694 3.694 0 0 1 3.614 2.94h3.907v5.299h1.471v1.5h-1.471v8.237H4.479V12.75H3.013v-1.5h1.466V5.953h3.902a3.694 3.694 0 0 1 3.613-2.94ZM5.98 19.488h12.036V7.453H5.979v12.035Zm4.274-4.492a1.748 1.748 0 0 0 3.493 0h1.5a3.247 3.247 0 0 1-6.493 0zm1.741-10.484a2.19 2.19 0 0 0-2.055 1.44h4.11a2.192 2.192 0 0 0-2.055-1.44" /></svg>
  );
};