@guruhotel/aura-icons
Version:
🎨 Icon library designed by the Guruhotel team for Aura UI
40 lines (39 loc) • 2.71 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 StyledCarSolid = ({
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: "m1.857 9.225 1.65-4.711A4.499 4.499 0 0 1 7.752 1.5h8.494a4.5 4.5 0 0 1 4.247 3.014l1.65 4.711A3.006 3.006 0 0 1 24 12v9c0 .83-.67 1.5-1.5 1.5H21c-.83 0-1.5-.67-1.5-1.5v-2.25h-15V21A1.5 1.5 0 0 1 3 22.5H1.5A1.5 1.5 0 0 1 0 21v-9c0-1.252.767-2.325 1.857-2.775ZM5.114 9h13.772l-1.223-3.497A1.501 1.501 0 0 0 16.247 4.5H7.753a1.5 1.5 0 0 0-1.415 1.003L5.114 9ZM4.5 12a1.5 1.5 0 1 0-.001 2.999A1.5 1.5 0 0 0 4.5 12Zm15 3c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5Z"
})
})
});
};
const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledCarSolid);
const CarSolid = /*#__PURE__*/(0, _react.memo)(ForwardRef);
var _default = CarSolid;
exports.default = _default;
module.exports = exports.default;