import { DEVICE_ICON_COLOR } from "../../shared/utils.js";
import React from "react";
import { Icon } from "@pisell/materials";
import classNames from "classnames";
//#region src/plus/saasDevice/devicePlanning/components/shared/DeviceIcon.tsx
const DeviceIcon = ({ icon, kind, className, fallbackIcon = "DesktopOutlined" }) => /* @__PURE__ */ React.createElement("span", { className: classNames(className, `is-${kind}`) }, /* @__PURE__ */ React.createElement(Icon, {
	type: icon || fallbackIcon,
	color: DEVICE_ICON_COLOR[kind]
}));
//#endregion
export { DeviceIcon as default };
