import * as React from "react";

import { ISvgIcons } from "./type";

export const ExternalLinkIcon: React.FC<ISvgIcons> = ({
  className = "text-current",
  ...rest
}) => (
  <svg
    viewBox="0 0 24 24"
    className={`${className} stroke-[1.5]`}
    stroke="currentColor"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
    {...rest}
  >
    <path
      d="M18 13V19C18 19.5304 17.7893 20.0391 17.4142 20.4142C17.0391 20.7893 16.5304 21 16 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V8C3 7.46957 3.21071 6.96086 3.58579 6.58579C3.96086 6.21071 4.46957 6 5 6H11"
      strokeLinecap="round"
      strokeLinejoin="round"
    />
    <path d="M15 3H21V9" strokeLinecap="round" strokeLinejoin="round" />
    <path d="M10 14L21 3" strokeLinecap="round" strokeLinejoin="round" />
  </svg>
);
