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

export type PodcastIconProps = 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 PodcastIcon = ({ title, size, color, ...props }: PodcastIconProps) => {
  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="M12.732 10.01a.749.749 0 1 1-1.498 0 .749.749 0 0 1 1.498 0" /><path fillRule="evenodd" d="M11.983 3.516a6.488 6.488 0 0 0-6.49 6.49c0 1.736.68 3.31 1.79 4.474l-1.085 1.036a7.957 7.957 0 0 1-2.205-5.51 7.988 7.988 0 0 1 7.99-7.99 7.988 7.988 0 0 1 7.989 7.99 7.957 7.957 0 0 1-2.204 5.51l-1.086-1.036a6.458 6.458 0 0 0 1.79-4.475 6.488 6.488 0 0 0-6.49-6.49Zm0 3.245a3.243 3.243 0 0 0-2.358 5.473l-1.087 1.034a4.743 4.743 0 0 1 3.444-8.007 4.743 4.743 0 0 1 3.445 8.007l-1.087-1.034a3.243 3.243 0 0 0-2.357-5.473m0 3.248h-.001m0 0h.001m-1.5.001a1.499 1.499 0 1 1 2.25 1.298v10.68h-1.5v-10.68a1.498 1.498 0 0 1-.75-1.298" clipRule="evenodd" /></svg>
  );
};