react-bytesize-icons
Version:
Bytesize Icons as React Components.
51 lines (46 loc) • 1.69 kB
JavaScript
"use strict";
exports.__esModule = true;
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var Eye = function Eye(_ref) {
var _ref$id = _ref.id,
id = _ref$id === void 0 ? "i-eye" : _ref$id,
className = _ref.className,
_ref$width = _ref.width,
width = _ref$width === void 0 ? 32 : _ref$width,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 32 : _ref$height,
_ref$strokeWidth = _ref.strokeWidth,
strokeWidth = _ref$strokeWidth === void 0 ? '6.25%' : _ref$strokeWidth,
_ref$strokeLinejoin = _ref.strokeLinejoin,
strokeLinejoin = _ref$strokeLinejoin === void 0 ? 'round' : _ref$strokeLinejoin,
_ref$strokeLinecap = _ref.strokeLinecap,
strokeLinecap = _ref$strokeLinecap === void 0 ? 'round' : _ref$strokeLinecap,
_ref$color = _ref.color,
color = _ref$color === void 0 ? 'currentcolor' : _ref$color;
return _react["default"].createElement("svg", {
className: className,
id: id,
viewBox: "0 0 32 32",
width: width,
height: height,
fill: "none",
stroke: color,
strokeLinecap: strokeLinecap,
strokeLinejoin: strokeLinejoin,
strokeWidth: strokeWidth
}, _react["default"].createElement("circle", {
cx: "17",
cy: "15",
r: "1"
}), _react["default"].createElement("circle", {
cx: "16",
cy: "16",
r: "6"
}), _react["default"].createElement("path", {
d: "M2 16 C2 16 7 6 16 6 25 6 30 16 30 16 30 16 25 26 16 26 7 26 2 16 2 16 Z"
}));
};
var _default = Eye;
exports["default"] = _default;