UNPKG

@navikt/aksel-icons

Version:

800+ open source icons made by Aksel, Nav's design system team.

25 lines 2.27 kB
"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 SvgLightBulb = 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: "M12 3.75c-1.495 0-2.812.54-3.747 1.505A5.38 5.38 0 0 0 6.75 9c0 .777.274 1.374.886 2.352q.18.287.392.616c.527.82 1.195 1.858 1.932 3.282h4.08c.737-1.424 1.405-2.462 1.932-3.282q.212-.329.392-.616c.611-.978.886-1.575.886-2.352a5.38 5.38 0 0 0-1.503-3.745C14.812 4.29 13.495 3.75 12 3.75m-4.824.461C8.418 2.93 10.136 2.25 12 2.25s3.582.68 4.824 1.961A6.88 6.88 0 0 1 18.75 9c0 1.223-.476 2.126-1.114 3.148q-.195.311-.415.652c-.575.894-1.27 1.975-2.05 3.535a.75.75 0 0 1-.671.415h-5a.75.75 0 0 1-.67-.415c-.781-1.56-1.476-2.64-2.05-3.535a63 63 0 0 1-.416-.652C5.726 11.126 5.25 10.223 5.25 9c0-1.852.732-3.557 1.926-4.789M10.5 19.25a.75.75 0 0 1 .75.75.95.95 0 0 0 .21.469c.143.179.319.281.54.281s.396-.102.54-.281a.95.95 0 0 0 .21-.469.75.75 0 0 1 1.5 0c0 .447-.201.983-.54 1.406-.357.446-.931.844-1.71.844s-1.354-.398-1.71-.844c-.339-.423-.54-.959-.54-1.406a.75.75 0 0 1 .75-.75m-.5-2a.75.75 0 0 0 0 1.5h4a.75.75 0 0 0 0-1.5z", clipRule: "evenodd" })); }); export default SvgLightBulb; //# sourceMappingURL=LightBulb.js.map