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

export type OptionsVerticalIconProps = 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 OptionsVerticalIcon = ({ title, size, color, ...props }: OptionsVerticalIconProps) => {
  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.003 12.751a.749.749 0 1 0 0-1.497.749.749 0 0 0 0 1.497m0-5.741a.749.749 0 1 0 0-1.498.749.749 0 0 0 0 1.498m0 11.483a.749.749 0 1 0 0-1.498.749.749 0 0 0 0 1.498" /><path fillRule="evenodd" d="M12.004 6.262V6.26h-.002v.002zm-1.5-.002a1.499 1.499 0 1 1 2.998 0 1.499 1.499 0 0 1-2.998 0m1.5 5.743h-.002zm-.002 0v-.001zm-1.499 0a1.499 1.499 0 1 1 2.999 0 1.499 1.499 0 0 1-2.998 0Zm1.5 5.74-.001.001Zm-1.5.001a1.499 1.499 0 1 1 2.999 0 1.499 1.499 0 0 1-2.998 0Zm1.5 0v-.001Z" clipRule="evenodd" /></svg>
  );
};