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

export type CareerIconProps = 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 CareerIcon = ({ title, size, color, ...props }: CareerIconProps) => {
  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.003 14.998a1.248 1.248 0 1 0 0-2.496 1.248 1.248 0 0 0 0 2.496" /><path d="M19.49 13.99a3.23 3.23 0 0 1-1.746.51H14.75V13h2.995c.904 0 1.648-.688 1.737-1.568l.01-.178V9.008H4.514v2.246l.008.178c.09.88.834 1.568 1.738 1.568h2.996v1.5H6.26a3.23 3.23 0 0 1-1.746-.51v2.256c0 .964.782 1.746 1.746 1.746h11.483c.964 0 1.746-.782 1.746-1.746V13.99Zm-7.487-8.227c-.963 0-1.746.782-1.747 1.745h3.493c0-.963-.783-1.745-1.746-1.745m8.987 10.483a3.247 3.247 0 0 1-3.246 3.246H6.261a3.247 3.247 0 0 1-3.246-3.246V7.508h5.74a3.247 3.247 0 0 1 6.493 0h5.742z" /></svg>
  );
};