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

export type TwoArrowsIconProps = 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 TwoArrowsIcon = ({ title, size, color, ...props }: TwoArrowsIconProps) => {
  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="m6.48 3.983 1.06 1.06-2.714 2.715h9.922v1.5H4.824l2.711 2.714-1.061 1.06-4.519-4.525zm11.045 6.99 4.525 4.524-4.525 4.525-1.06-1.06 2.713-2.715H9.256v-1.5h9.922l-2.713-2.713z" clipRule="evenodd" /></svg>
  );
};