UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

38 lines (37 loc) 1.11 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgMediaRemovableSymbolic = (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: "M12 6v5.062C12 13.798 10.216 16 8 16s-4-2.202-4-4.938V6zM5 1v4h6V1zm1 1h1v1H6zm3 0h1v1H9z", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgMediaRemovableSymbolic); var media_removable_symbolic_default = Memo; export { media_removable_symbolic_default as default };