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

export type CalendarFullTimeIconProps = 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 CalendarFullTimeIcon = ({ title, size, color, ...props }: CalendarFullTimeIconProps) => {
  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="M7.51 12.751a3.746 3.746 0 0 0-3.745 3.745 3.746 3.746 0 0 0 3.744 3.745 3.746 3.746 0 0 0 3.745-3.745 3.746 3.746 0 0 0-3.745-3.745Z" /><path fillRule="evenodd" d="M7.498 4.512V3.016h1.5v1.496h5.984V3.016h1.5v1.496h4.509v13.232a3.247 3.247 0 0 1-3.247 3.247h-5.741v-1.5h5.741c.964 0 1.747-.783 1.747-1.747v-6.989H4.515v1.247h-1.5v-7.49zm0 1.5H4.515v3.243H19.49V6.012h-3.009V7.51h-1.5V6.012H8.998V7.51h-1.5zM3.015 16.496a4.495 4.495 0 1 1 8.989 0 4.495 4.495 0 0 1-8.99 0Zm4.494-2.995a2.996 2.996 0 0 0-2.994 2.995 2.996 2.996 0 0 0 2.994 2.995 2.996 2.996 0 0 0 2.995-2.995 2.996 2.996 0 0 0-2.995-2.995" clipRule="evenodd" /></svg>
  );
};