UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

32 lines (31 loc) 1.32 kB
import { jsx, jsxs } from "react/jsx-runtime"; import classnames from "classnames"; import { camelize } from "../../utils/index.js"; const iconSource = "unfoldFilled"; const UnfoldFilledIcon = ({ 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: "M17.163 16.038 12 21.2 6.837 16.038 8.163 14.712 12 18.55 15.837 14.712zM17.163 7.962 15.837 9.288 12 5.45 8.163 9.288 6.837 7.962 12 2.8z" }) ] }) }); }; const _generated_UnfoldFilledIcon = UnfoldFilledIcon; export default _generated_UnfoldFilledIcon; //# sourceMappingURL=UnfoldFilledIcon.js.map