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

export type FoodWasteIconProps = 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 FoodWasteIcon = ({ title, size, color, ...props }: FoodWasteIconProps) => {
  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="M13.644 3.017c-.448.47-.713 1.018-.856 1.671 2.117-1.157 4.657-.786 6.283 1.126l.562.66-.735.462c-4.605 2.89-4.18 8.605-.734 11.326l.657.518-.587.596c-3.445 3.5-9.07 3.494-12.56.059l-.54-.53.536-.535.05-.05.052-.052.062-.042c2.025-1.35 2.963-3.444 2.83-5.547-.133-2.106-1.347-4.28-3.753-5.738l-.763-.462.586-.671c1.686-1.934 4.322-2.29 6.504-.975.15-1.033.52-2.01 1.318-2.85zm3.671 3.193c-1.405-1.047-3.39-.912-4.879.614l-.53.543-.537-.537c-1.518-1.518-3.463-1.633-4.863-.623 2.272 1.678 3.506 4.015 3.655 6.377.15 2.365-.793 4.707-2.778 6.355 2.712 2.112 6.541 2.09 9.195-.082-3.355-3.283-3.729-9.214.737-12.647" /></svg>
  );
};