@drivy/cobalt
Version:
Opinionated design system for Drivy's projects.
32 lines (31 loc) • 1.5 kB
JavaScript
import { jsx, jsxs } from "react/jsx-runtime";
import classnames from "classnames";
import { camelize } from "../../utils/index.js";
const iconSource = "bluetoothFilled";
const BluetoothFilledIcon = ({ 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.062 2.703C11.062 1.7 12.274 1.199 12.982 1.907L18.2 7.125 13.325 12 18.2 16.875 12.983 22.093C12.274 22.8 11.063 22.3 11.063 21.297V14.263L6.662 18.663 5.337 17.337 10.674 12 5.337 6.663 6.663 5.337 11.063 9.737zM12.937 19.487 15.55 16.875 12.937 14.263zM12.937 9.737 15.55 7.125 12.937 4.513z"
})
]
})
});
};
const _generated_BluetoothFilledIcon = BluetoothFilledIcon;
export default _generated_BluetoothFilledIcon;
//# sourceMappingURL=BluetoothFilledIcon.js.map