UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

37 lines (36 loc) 1.62 kB
import { jsx, jsxs } from "react/jsx-runtime"; import classnames from "classnames"; import { camelize } from "../../utils/index.js"; const iconSource = "usbChargingPortFilled"; const UsbChargingPortFilledIcon = ({ color, size = 24, contained = false, className })=>{ const computedClassName = classnames(className, `cobalt-Icon cobalt-Icon--${iconSource}`, { [`c-fill-${camelize(color || "")}`]: color, "cobalt-Icon--size16": 16 === size, "cobalt-Icon--size20": 20 === size, "cobalt-Icon--size32": 32 === size, "cobalt-Icon--contained": contained }); return /*#__PURE__*/ jsx("span", { className: computedClassName, children: /*#__PURE__*/ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: [ /*#__PURE__*/ jsx("title", { children: iconSource }), /*#__PURE__*/ jsx("path", { d: "M11.25 6H9.75V4.5H11.25zM14.25 6H12.75V4.5H14.25z" }), /*#__PURE__*/ jsx("path", { fillRule: "evenodd", d: "M17.25 7.5H18.75V12.75C18.75 16.095 16.317 18.87 13.125 19.405V22.5H10.875V19.405C7.683 18.869 5.25 16.095 5.25 12.75V7.5H6.75V1.5H17.25zM8.25 7.5H15.75V3H8.25z", clipRule: "evenodd" }) ] }) }); }; const _generated_UsbChargingPortFilledIcon = UsbChargingPortFilledIcon; export default _generated_UsbChargingPortFilledIcon; //# sourceMappingURL=UsbChargingPortFilledIcon.js.map