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

export type RefreshmentsIconProps = 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 RefreshmentsIcon = ({ title, size, color, ...props }: RefreshmentsIconProps) => {
  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="M20.25 9.25a5.25 5.25 0 0 1-4.75 5.225v4.275h2v1.5H12v-1.5h2v-4.275A5.25 5.25 0 0 1 9.25 9.25zm-16 .5v-6h7v4h-1.5v-2.5h-4v4.5c0 .966.784 1.75 1.75 1.75h1v5.25h2v1.5H5v-1.5h2v-3.788A3.252 3.252 0 0 1 4.25 9.75m6.813 1A3.75 3.75 0 0 0 14.5 13h.5a3.75 3.75 0 0 0 3.436-2.25z" /></svg>
  );
};