@navikt/aksel-icons
Version:
800+ open source icons made by Aksel, Nav's design system team.
59 lines • 3.63 kB
JavaScript
;
"use client";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importStar(require("react"));
const useId_1 = require("./util/useId");
const SvgFootprint = (0, react_1.forwardRef)((_a, ref) => {
var { title, titleId: _titleId } = _a, props = __rest(_a, ["title", "titleId"]);
let titleId = (0, useId_1.useId)();
titleId = title ? _titleId ? _titleId : "title-" + titleId : undefined;
return react_1.default.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: false, role: "img", ref: ref, "aria-labelledby": titleId }, props),
title ? react_1.default.createElement("title", { id: titleId }, title) : null,
react_1.default.createElement("path", { fill: "currentColor", d: "M5.579 6.871a3.1 3.1 0 0 1 3.599-.012c1.545 1.092 2.43 2.995 1.79 4.968l-.562 1.73c-.434 1.337-.425 2.712-.157 4.153a3.128 3.128 0 1 1-6.187.241l.154-1.444a4.5 4.5 0 0 0-.135-1.658l-.578-2.105a5.45 5.45 0 0 1 2.076-5.873M8.31 8.083a1.6 1.6 0 0 0-1.856.008 3.95 3.95 0 0 0-1.506 4.256l.58 2.104c.197.72.259 1.473.18 2.215l-.154 1.445a1.63 1.63 0 1 0 3.22-.126c-.298-1.604-.328-3.246.205-4.891l.56-1.728c.402-1.237-.117-2.496-1.229-3.283m6.575-5.224a3.1 3.1 0 0 1 3.597.012 5.45 5.45 0 0 1 2.077 5.873l-.578 2.105a4.5 4.5 0 0 0-.135 1.658L20 13.951a3.129 3.129 0 1 1-6.187-.24c.268-1.442.276-2.816-.158-4.154l-.56-1.73c-.64-1.973.244-3.876 1.79-4.968m2.723 1.232a1.6 1.6 0 0 0-1.856-.008c-1.112.787-1.63 2.046-1.23 3.283l.56 1.728c.534 1.645.504 3.287.206 4.89a1.63 1.63 0 1 0 3.22.127l-.154-1.445a6 6 0 0 1 .181-2.215l.58-2.104a3.95 3.95 0 0 0-1.507-4.256" }));
});
exports.default = SvgFootprint;
//# sourceMappingURL=Footprint.js.map