@drivy/cobalt
Version:
Opinionated design system for Drivy's projects.
44 lines (43 loc) • 1.53 kB
JavaScript
import { jsx, jsxs } from "react/jsx-runtime";
import classnames from "classnames";
import { camelize } from "../../utils/index.js";
const iconSource = "dotsVertical";
const DotsVerticalIcon = ({ 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("circle", {
cx: 12,
cy: 6,
r: 2
}),
/*#__PURE__*/ jsx("circle", {
cx: 12,
cy: 12,
r: 2
}),
/*#__PURE__*/ jsx("circle", {
cx: 12,
cy: 18,
r: 2
})
]
})
});
};
const _generated_DotsVerticalIcon = DotsVerticalIcon;
export default _generated_DotsVerticalIcon;
//# sourceMappingURL=DotsVerticalIcon.js.map