@navikt/aksel-icons
Version:
800+ open source icons made by Aksel, Nav's design system team.
59 lines • 3.6 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 SvgTooth = (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", fillRule: "evenodd", d: "M8.826 4.484a2.788 2.788 0 0 0-2.991 3.649l1.078 3.234c.16.479.428.913.785 1.27l.333.333a.75.75 0 0 1 .217.476l.405 5.666a.687.687 0 0 0 1.357.095l1.257-5.864a.75.75 0 0 1 1.467 0l1.256 5.864a.687.687 0 0 0 1.358-.095l.404-5.665a.75.75 0 0 1 .218-.477l.332-.333c.357-.357.626-.791.785-1.27l1.078-3.234a2.788 2.788 0 0 0-2.99-3.649l-1.062.133a5.3 5.3 0 0 0-1.697.513l-.08.04a.75.75 0 0 1-.671 0l-.08-.04a5.3 5.3 0 0 0-1.698-.513zm-3.64.022a4.29 4.29 0 0 1 3.826-1.51l1.061.132a6.8 6.8 0 0 1 1.927.54 6.8 6.8 0 0 1 1.927-.54l1.061-.132a4.288 4.288 0 0 1 4.6 5.611l-1.078 3.234a4.75 4.75 0 0 1-1.147 1.857l-.135.134-.384 5.387a2.187 2.187 0 0 1-4.32.302L12 17.079l-.523 2.442a2.187 2.187 0 0 1-4.32-.302l-.385-5.387-.134-.134A4.75 4.75 0 0 1 5.49 11.84L4.412 8.607a4.29 4.29 0 0 1 .774-4.101", clipRule: "evenodd" }));
});
exports.default = SvgTooth;
//# sourceMappingURL=Tooth.js.map