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

export type StudiestartIconProps = 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 StudiestartIcon = ({ title, size, color, ...props }: StudiestartIconProps) => {
  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="M8.005 20.986a.749.749 0 1 0 0-1.497.749.749 0 0 0 0 1.497m-2.995 0a.749.749 0 1 0 0-1.497.749.749 0 0 0 0 1.497m14.474-3.866v-.003c0-1.281-1.088-2.37-2.492-2.37H9.004c-2.318 0-4.243-1.818-4.243-4.118v-.003c0-2.3 1.926-4.119 4.243-4.119l5.92.001a4.976 4.976 0 0 1-1.428-3.495h1.5a3.494 3.494 0 0 0 3.314 3.49l.18.004v1.5a3.493 3.493 0 0 0-3.494 3.494h-1.5a4.98 4.98 0 0 1 1.424-3.493H9.003c-1.54 0-2.742 1.197-2.742 2.618v.003c0 1.421 1.202 2.619 2.743 2.619h7.988c2.177 0 3.992 1.705 3.992 3.869v.003c0 2.163-1.815 3.868-3.992 3.869h-6.491v-1.5h6.491c1.404 0 2.492-1.088 2.492-2.37Z" /></svg>
  );
};