@navikt/aksel-icons
Version:
800+ open source icons made by Aksel, Nav's design system team.
26 lines • 1.87 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 SvgBook = 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 6A.75.75 0 0 1 9 5.25h6a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-.75.75H9A.75.75 0 0 1 8.25 9zm1.5.75v1.5h4.5v-1.5z", clipRule: "evenodd" }),
React.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M7 2.25A2.75 2.75 0 0 0 4.25 5v14A2.75 2.75 0 0 0 7 21.75h12a.75.75 0 0 0 .67-1.085l-.105-.212a3.25 3.25 0 0 1 0-2.906l.106-.212a.75.75 0 0 0 .079-.334V3.5c0-.69-.56-1.25-1.25-1.25zm11.25 1.5H7c-.69 0-1.25.56-1.25 1.25v11.55c.375-.192.8-.3 1.25-.3h11.25zm-.36 16.5a4.75 4.75 0 0 1 0-2.5H7a1.25 1.25 0 1 0 0 2.5z", clipRule: "evenodd" }));
});
export default SvgBook;
//# sourceMappingURL=Book.js.map