UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

32 lines (31 loc) 1.38 kB
import { jsx, jsxs } from "react/jsx-runtime"; import classnames from "classnames"; import { camelize } from "../../utils/index.js"; const iconSource = "replyFilled"; const ReplyFilledIcon = ({ 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: "M18.188 15.375C18.188 12.579 15.92 10.313 13.125 10.313H6.763L10.413 13.963 9.087 15.287 3.174 9.375 9.087 3.462 10.413 4.788 6.763 8.438H13.125C16.956 8.438 20.063 11.543 20.063 15.375V20.25H18.188z" }) ] }) }); }; const _generated_ReplyFilledIcon = ReplyFilledIcon; export default _generated_ReplyFilledIcon; //# sourceMappingURL=ReplyFilledIcon.js.map