@navikt/aksel-icons
Version:
800+ open source icons made by Aksel, Nav's design system team.
24 lines • 1.8 kB
JavaScript
"use client";
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;
};
import React, { forwardRef } from "react";
import { useId } from "./util/useId.js";
const SvgPushPin = forwardRef((_a, ref) => {
var { title, titleId: _titleId } = _a, props = __rest(_a, ["title", "titleId"]);
let titleId = useId();
titleId = title ? _titleId ? _titleId : "title-" + titleId : undefined;
return React.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.createElement("title", { id: titleId }, title) : null,
React.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M16.312 3.251a1.75 1.75 0 0 0-2.592.13l-3.584 4.38a.25.25 0 0 1-.137.085l-4.41 1.018c-1.339.309-1.815 1.97-.844 2.942L7.94 15l-4.47 4.47a.75.75 0 1 0 1.061 1.06L9 16.06l3.194 3.195c.972.972 2.633.495 2.942-.844L16.154 14a.25.25 0 0 1 .085-.137l4.38-3.584a1.75 1.75 0 0 0 .13-2.592zm-3.057 14.943a.25.25 0 0 0 .42-.12l1.017-4.41a1.75 1.75 0 0 1 .597-.96l4.38-3.585a.25.25 0 0 0 .02-.37L15.25 4.312a.25.25 0 0 0-.37.018l-3.584 4.38c-.246.3-.584.51-.961.598l-4.41 1.017a.25.25 0 0 0-.12.42z", clipRule: "evenodd" }));
});
export default SvgPushPin;
//# sourceMappingURL=PushPin.js.map