import Draggable from "../../../DragNDrop/Draggable";

const groupColor = "bg-red-700";

const SensorNodeComponent = () => {
  return (
    <Draggable data={{ type: "sensor" }}>
      <div className="node-component">
        <div className={`node-component-handle ${groupColor}`} />
        Сенсор
      </div>
    </Draggable>
  );
};

const LedNodeComponent = () => {
  return (
    <Draggable data={{ type: "led" }}>
      <div className="node-component">
        <div className={`node-component-handle ${groupColor}`} />
        Светодиод
      </div>
    </Draggable>
  );
};

export { SensorNodeComponent, LedNodeComponent };
