@rainbow-me/rainbowkit
Version:
The best way to connect a wallet
51 lines (48 loc) • 2.1 kB
JavaScript
"use client";
import {
isMobile
} from "./chunk-N6EWR2LO.js";
// src/components/Icons/Close.tsx
import React from "react";
var CloseIcon = () => {
return isMobile() ? /* @__PURE__ */ React.createElement(
"svg",
{
"aria-hidden": true,
fill: "none",
height: "11.5",
viewBox: "0 0 11.5 11.5",
width: "11.5",
xmlns: "http://www.w3.org/2000/svg"
},
/* @__PURE__ */ React.createElement("title", null, "Close"),
/* @__PURE__ */ React.createElement(
"path",
{
d: "M2.13388 0.366117C1.64573 -0.122039 0.854272 -0.122039 0.366117 0.366117C-0.122039 0.854272 -0.122039 1.64573 0.366117 2.13388L3.98223 5.75L0.366117 9.36612C-0.122039 9.85427 -0.122039 10.6457 0.366117 11.1339C0.854272 11.622 1.64573 11.622 2.13388 11.1339L5.75 7.51777L9.36612 11.1339C9.85427 11.622 10.6457 11.622 11.1339 11.1339C11.622 10.6457 11.622 9.85427 11.1339 9.36612L7.51777 5.75L11.1339 2.13388C11.622 1.64573 11.622 0.854272 11.1339 0.366117C10.6457 -0.122039 9.85427 -0.122039 9.36612 0.366117L5.75 3.98223L2.13388 0.366117Z",
fill: "currentColor"
}
)
) : /* @__PURE__ */ React.createElement(
"svg",
{
"aria-hidden": true,
fill: "none",
height: "10",
viewBox: "0 0 10 10",
width: "10",
xmlns: "http://www.w3.org/2000/svg"
},
/* @__PURE__ */ React.createElement("title", null, "Close"),
/* @__PURE__ */ React.createElement(
"path",
{
d: "M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L3.58579 5L0.292893 8.29289C-0.0976311 8.68342 -0.0976311 9.31658 0.292893 9.70711C0.683417 10.0976 1.31658 10.0976 1.70711 9.70711L5 6.41421L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L6.41421 5L9.70711 1.70711C10.0976 1.31658 10.0976 0.683417 9.70711 0.292893C9.31658 -0.0976311 8.68342 -0.0976311 8.29289 0.292893L5 3.58579L1.70711 0.292893Z",
fill: "currentColor"
}
)
);
};
export {
CloseIcon
};