@navikt/aksel-icons
Version:
800+ open source icons made by Aksel, Nav's design system team.
25 lines • 1.85 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 SvgBed = 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: "M2.25 13c0-.966.784-1.75 1.75-1.75h.25V7c0-.966.784-1.75 1.75-1.75h12c.966 0 1.75.784 1.75 1.75v4.25H20c.966 0 1.75.784 1.75 1.75v5.5a.75.75 0 0 1-1.5 0V13a.25.25 0 0 0-.25-.25H4a.25.25 0 0 0-.25.25v5.5a.75.75 0 0 1-1.5 0zm3.5-6A.25.25 0 0 1 6 6.75h12a.25.25 0 0 1 .25.25v4.25h-.5V10A1.75 1.75 0 0 0 16 8.25h-2A1.75 1.75 0 0 0 12.25 10v1.25h-.5V10A1.75 1.75 0 0 0 10 8.25H8A1.75 1.75 0 0 0 6.25 10v1.25h-.5zM14 9.75a.25.25 0 0 0-.25.25v1.25h2.5V10a.25.25 0 0 0-.25-.25zm-4 0a.25.25 0 0 1 .25.25v1.25h-2.5V10A.25.25 0 0 1 8 9.75z", clipRule: "evenodd" }));
});
export default SvgBed;
//# sourceMappingURL=Bed.js.map