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

export const IconChannel24 = 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="M19.25 2a2.75 2.75 0 1 1-2.646 3.5H13c-.69 0-1.25.56-1.25 1.25v4.5h3.604a2.752 2.752 0 0 1 5.396.75 2.75 2.75 0 0 1-5.396.75H11.75v4.5c0 .69.56 1.25 1.25 1.25h3.604a2.752 2.752 0 0 1 5.396.75 2.75 2.75 0 0 1-5.396.75H13a2.75 2.75 0 0 1-2.75-2.75v-4.5H7.396a2.751 2.751 0 1 1 0-1.5h2.854v-4.5A2.75 2.75 0 0 1 13 4h3.604a2.75 2.75 0 0 1 2.646-2m0 16a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m-14.5-7.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m13.25 0a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5m1.25-7.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5"
                />
            </svg>
        );
    }
);
