/ src / modules / common / icons / x.tsx
x.tsx
 1  import React from "react"
 2  
 3  import { IconProps } from "types/icon"
 4  
 5  const X: React.FC<IconProps> = ({
 6    size = "20",
 7    color = "currentColor",
 8    ...attributes
 9  }) => {
10    return (
11      <svg
12        width={size}
13        height={size}
14        viewBox="0 0 20 20"
15        fill="none"
16        xmlns="http://www.w3.org/2000/svg"
17        {...attributes}
18      >
19        <path
20          d="M15 5L5 15"
21          stroke={color}
22          strokeWidth="1.5"
23          strokeLinecap="round"
24          strokeLinejoin="round"
25        />
26        <path
27          d="M5 5L15 15"
28          stroke={color}
29          strokeWidth="1.5"
30          strokeLinecap="round"
31          strokeLinejoin="round"
32        />
33      </svg>
34    )
35  }
36  
37  export default X