import { forwardRef } from "react";
import type { IconProps } from "../../types";

export const IconPlaySolid = forwardRef<SVGSVGElement, IconProps>(
  ({ color = "currentColor", ...props }, forwardedRef) => {
    const { className } = props;
    props = {
      ...props,
      width: `${props.width || props.size || 20}`,
      height: `${props.height || props.size || 20}`,
      className: `${
        className ? className + " " : ""
      }customeow-icon customeow-icon-icon-play-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M7.29995 2.84046C6.3011 2.21075 5 2.92857 5 4.10935V15.8905C5 17.0713 6.3011 17.7891 7.29995 17.1594L16.6436 11.2688C17.577 10.6804 17.577 9.31948 16.6436 8.73103L7.29995 2.84046Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconPlaySolid.displayName = "IconPlaySolid";

export default IconPlaySolid;
