UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

38 lines (37 loc) 1.48 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgMediaTapeSymbolic = (passedProps, ...restArgs) => { const { colored, containerProps = {}, ...rest } = passedProps; if (colored && typeof colored === "string") { if (!containerProps.style) { containerProps.style = {}; } Object.assign(containerProps.style, { "--custom-icon-color": colored }); } const render = (props) => /* @__PURE__ */ React.createElement("span", { ...containerProps, className: cx("Icon", containerProps.className, { colored }) }, /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M2.5 3A2.495 2.495 0 000 5.5v6C0 12.885 1.115 14 2.5 14h11c1.385 0 2.5-1.115 2.5-2.5v-6C16 4.115 14.885 3 13.5 3zm2 3C5.875 6 7 7.125 7 8.5c0 .565-.212 1.08-.531 1.5h3.062c-.318-.42-.53-.935-.53-1.5A2.505 2.505 0 0111.5 6C12.874 6 14 7.125 14 8.5S12.874 11 11.5 11h-7A2.508 2.508 0 012 8.5C2 7.125 3.124 6 4.5 6zm0 1C3.666 7 3 7.666 3 8.5S3.666 10 4.5 10C5.335 10 6 9.334 6 8.5S5.335 7 4.5 7zm7 0c-.834 0-1.5.666-1.5 1.5s.666 1.5 1.5 1.5c.835 0 1.5-.666 1.5-1.5S12.335 7 11.5 7z", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgMediaTapeSymbolic); var media_tape_symbolic_default = Memo; export { media_tape_symbolic_default as default };