import { forwardRef, useMemo } from 'react';
import { IconProps } from './types';

export const IconFolderUsers24 = forwardRef<SVGSVGElement, IconProps>(
    ({ color = 'currentColor', title, ...props }, svgRef) => {
        const titleId = useMemo(
            () =>
                title
                    ? 'title-' + Math.random().toString(36).substr(2, 9)
                    : undefined,
            [title]
        );
        return (
            <svg
                xmlns="http://www.w3.org/2000/svg"
                width={24}
                height={24}
                fill="none"
                viewBox="0 0 24 24"
                aria-hidden={!title}
                ref={svgRef}
                aria-labelledby={titleId}
                {...props}
            >
                {title ? <title id={titleId}>{title}</title> : null}
                <path
                    fill={color}
                    d="M9.422 2c.73 0 1.429.29 1.944.806l.828.828c.235.234.553.366.884.366h7.172A2.75 2.75 0 0 1 23 6.75v9a.75.75 0 0 1-1.5 0v-9c0-.69-.56-1.25-1.25-1.25h-7.172a2.75 2.75 0 0 1-1.944-.806l-.828-.828a1.25 1.25 0 0 0-.884-.366H3.75c-.69 0-1.25.56-1.25 1.25V7h16.75a.75.75 0 0 1 0 1.5H2.5v10.75c0 .69.56 1.25 1.25 1.25h1.5a.75.75 0 0 1 0 1.5h-1.5A2.75 2.75 0 0 1 1 19.25V4.75A2.75 2.75 0 0 1 3.75 2zm5.203 15c.786 0 1.524.344 2.057.929.53.582.818 1.358.818 2.154v1.167a.75.75 0 0 1-1.5 0v-1.167c0-.441-.16-.852-.427-1.144a1.28 1.28 0 0 0-.948-.439h-4.25c-.34 0-.684.148-.948.439A1.7 1.7 0 0 0 9 20.083v1.167a.75.75 0 0 1-1.5 0v-1.167c0-.796.288-1.572.818-2.154A2.78 2.78 0 0 1 10.375 17zm3.65.559a.75.75 0 0 1 .916-.535c.665.176 1.25.571 1.667 1.12a3.17 3.17 0 0 1 .642 1.913v1.193a.75.75 0 0 1-1.5 0v-1.192c0-.367-.12-.721-.337-1.007a1.58 1.58 0 0 0-.854-.575.75.75 0 0 1-.535-.917M12.5 10a3 3 0 1 1 0 6 3 3 0 0 1 0-6m3.773.565a.75.75 0 0 1 .913-.542 3.07 3.07 0 0 1 0 5.953.75.75 0 0 1-.372-1.453A1.58 1.58 0 0 0 18 13a1.57 1.57 0 0 0-1.186-1.523.75.75 0 0 1-.54-.912M12.5 11.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"
                />
            </svg>
        );
    }
);
