UNPKG

@hitachivantara/uikit-react-core

Version:

Core React components for the NEXT Design System.

23 lines (22 loc) 884 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const jsxRuntime = require("react/jsx-runtime"); const icons = require("../icons.cjs"); const EyeIcon = ({ selected, ...others }) => /* @__PURE__ */ jsxRuntime.jsxs(icons.SvgBase, { viewBox: "0 0 16 16", ...others, children: [ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11 8a3 3 0 1 1-3-3 3 3 0 0 1 3 3m5 0s-3.58 6-8 6-8-6-8-6 4-6 8-6 8 6 8 6m-1.2.03a22 22 0 0 0-2-2.32C11.01 3.94 9.35 3 8 3s-3 .93-4.77 2.68a22 22 0 0 0-2.02 2.35 18 18 0 0 0 1.85 2.28C4.25 11.53 6.08 13 8 13s3.73-1.45 4.91-2.67a18 18 0 0 0 1.88-2.3z" }), /* @__PURE__ */ jsxRuntime.jsx( "rect", { style: { transition: "width 0.2s ease" }, width: selected ? 20 : 0, height: 1, x: -2, y: 8, transform: "translate(-4 8) rotate(-45)" } ) ] }); exports.EyeIcon = EyeIcon;