@guruhotel/aura-icons
Version:
🎨 Icon library designed by the Guruhotel team for Aura UI
40 lines (39 loc) • 2.83 kB
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireWildcard(require("react"));
var _accessibleIcon = require("../accessible-icon");
var _styles = require("../styles");
var _jsxRuntime = require("react/jsx-runtime");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
const StyledSearchSolid = ({
label,
color = "#000000",
className = "",
css = {},
viewBox = "0 0 24 24"
}, ref) => {
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_accessibleIcon.AccessibleIcon, {
label: label,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledSvg, {
className: className,
css: css,
viewBox: viewBox,
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
ref: ref,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledPath, {
css: {
fill: `${color}`
},
d: "M23.4515 20.7984L17.8406 15.1875C19.1165 13.2933 19.746 10.9265 19.409 8.40466C18.8343 4.11514 15.3187 0.624358 11.0249 0.0807494C4.64104 -0.727047 -0.727085 4.64107 0.0807583 11.025C0.624508 15.3206 4.11576 18.839 8.40576 19.4109C10.9276 19.7479 13.2948 19.1186 15.1886 17.8425L20.7995 23.4534C21.5317 24.1856 22.719 24.1856 23.4512 23.4534C24.1828 22.7203 24.1828 21.5297 23.4515 20.7984ZM3.70776 9.74998C3.70776 6.44154 6.39932 3.74998 9.70776 3.74998C13.0162 3.74998 15.7078 6.44154 15.7078 9.74998C15.7078 13.0584 13.0162 15.75 9.70776 15.75C6.39932 15.75 3.70776 13.0593 3.70776 9.74998Z"
})
})
});
};
const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledSearchSolid);
const SearchSolid = /*#__PURE__*/(0, _react.memo)(ForwardRef);
var _default = SearchSolid;
exports.default = _default;
module.exports = exports.default;