@navikt/aksel-icons
Version:
800+ open source icons made by Aksel, Nav's design system team.
25 lines • 2.03 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 * as React from "react";
import { forwardRef } from "react";
import { useId } from "./util/useId.js";
const SvgClipboardLink = 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: "M8.25 3A.75.75 0 0 1 9 2.25h6a.75.75 0 0 1 .75.75v1.25H18a.75.75 0 0 1 .75.75v16a.75.75 0 0 1-.75.75H6a.75.75 0 0 1-.75-.75V5A.75.75 0 0 1 6 4.25h2.25zm7.5 3a.75.75 0 0 1-.75.75H9A.75.75 0 0 1 8.25 6v-.25h-1.5v14.5h10.5V5.75h-1.5zm-1.5-.75h-4.5v-1.5h4.5zm-.482 5.422-.177.176a.75.75 0 0 1-1.06-1.06l.353-.354a1.25 1.25 0 0 1 1.768 0l1.414 1.414a1.25 1.25 0 0 1 0 1.768l-2.829 2.829a1.25 1.25 0 0 1-1.767 0l-.354-.354a.75.75 0 0 1 1.06-1.06l.178.176 2.474-2.475zm-2.124 2.127.191.182a.75.75 0 1 0 1.037-1.084l-.368-.351a1.25 1.25 0 0 0-1.747.019l-2.822 2.819a1.25 1.25 0 0 0 0 1.768l1.413 1.414a1.25 1.25 0 0 0 1.768 0l.354-.354a.75.75 0 0 0-1.061-1.06l-.177.176-1.06-1.06z", clipRule: "evenodd" }));
});
export default SvgClipboardLink;
//# sourceMappingURL=ClipboardLink.js.map