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

export type MeetingRoomIconProps = 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 MeetingRoomIcon = ({ title, size, color, ...props }: MeetingRoomIconProps) => {
  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.775 14.828a1.592 1.592 0 1 0-1.754 1.583l.163.01.163-.01a1.591 1.591 0 0 0 1.428-1.583m-8.043-3.484a3.092 3.092 0 0 1 3.091-3.092c1.4 0 2.58.933 2.961 2.206l.066.26.002.009a3.2 3.2 0 0 1 .063.611h-1.5a1.596 1.596 0 0 0-1.592-1.586 1.592 1.592 0 0 0-.35 3.144l.144.025.012.001.013.002c.03.005.07.005.119.007l.057-.001v1.505l-.083-.003c-1.756.044-3.22 1.464-3.22 3.067h-1.5c0-1.756 1.08-3.258 2.573-4.024a3.078 3.078 0 0 1-.856-2.131m14.753 3.22V9.885L13.87 4.952 10.6 7.827l-.99-1.126 4.26-3.745 7.115 6.25v5.358a2.678 2.678 0 0 1-2.676 2.677h-2.626v-1.5h2.626c.649 0 1.176-.528 1.176-1.177m-5.21.264c0 .83-.33 1.583-.862 2.138 1.492.766 2.57 2.264 2.57 4.023h-1.5c0-1.633-1.51-3.069-3.304-3.069-1.793 0-3.304 1.44-3.304 3.07h-1.5c0-1.758 1.08-3.26 2.575-4.027a3.08 3.08 0 0 1-.858-2.135 3.092 3.092 0 0 1 6.183 0" /></svg>
  );
};