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

export type HelpFillIconProps = 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 HelpFillIcon = ({ title, size, color, ...props }: HelpFillIconProps) => {
  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 fillRule="evenodd" d="M12.003 3.015a8.988 8.988 0 1 1-.001 17.975 8.988 8.988 0 0 1 0-17.975Zm0 12.482a1.124 1.124 0 1 0 0 2.249 1.124 1.124 0 0 0 0-2.249m0-9.237a3.248 3.248 0 0 0-3.247 3.246h1.5a1.747 1.747 0 1 1 1.747 1.747h-.75v3.246h1.5v-1.835a3.247 3.247 0 0 0-.75-6.404" clipRule="evenodd" /></svg>
  );
};