UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

38 lines (37 loc) 1.18 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgPhoneAppleIphoneSymbolic = (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: "M5.469 1C4.648 1 4 1.648 4 2.469V13.53c0 .822.648 1.47 1.469 1.47h5.125c.82 0 1.469-.648 1.469-1.469V2.47c0-.821-.648-1.469-1.47-1.469zM5 2h6.063v11H5z", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgPhoneAppleIphoneSymbolic); var phone_apple_iphone_symbolic_default = Memo; export { phone_apple_iphone_symbolic_default as default };