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

export type SchoolFilledIconProps = 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 SchoolFilledIcon = ({ title, size, color, ...props }: SchoolFilledIconProps) => {
  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.066 8.964 6.94-2.867 2.219a7.208 7.208 0 0 1 1.393 4.271v2.996h-1.5v-2.996c0-.07-.001-.141-.004-.211l-5.984 4.654-7.243-5.572v-.369c0-.846.153-1.497.429-2.066a5.1 5.1 0 0 1 .533-.848L3.04 10.005l8.964-6.94Z" clipRule="evenodd" /></svg>
  );
};