UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

32 lines (31 loc) 1.4 kB
import { jsx, jsxs } from "react/jsx-runtime"; import classnames from "classnames"; import { camelize } from "../../utils/index.js"; const iconSource = "heightFilled"; const HeightFilledIcon = ({ 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: "M19.5 22.688H4.5V20.813H19.5zM16.038 8.337 14.712 9.663 12.938 7.888V16.112L14.712 14.337 16.038 15.663 12 19.7 7.962 15.663 9.288 14.337 11.062 16.112V7.888L9.289 9.663 7.962 8.337 12 4.3zM19.5 3.188H4.5V1.312H19.5z" }) ] }) }); }; const _generated_HeightFilledIcon = HeightFilledIcon; export default _generated_HeightFilledIcon; //# sourceMappingURL=HeightFilledIcon.js.map