UNPKG

@nomercyicons/react

Version:
26 lines 881 B
const React = require("react"); function FavoriteIcon({ title, titleId, ...props }, svgRef) { return /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "none", "aria-hidden": "true", ref: svgRef, "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }), /*#__PURE__*/React.createElement("path", { d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" })); } const ForwardRef = React.forwardRef(FavoriteIcon); module.exports = ForwardRef;