Update pipeline-step.component.tsx

This commit is contained in:
Shubham Takode 2024-02-27 21:58:59 +05:30
parent b9afdb85b4
commit 824dc6b067

View File

@ -2,15 +2,16 @@ import React from "react";
import { Handle, Position } from 'reactflow'; import { Handle, Position } from 'reactflow';
/* import "./pipeline-step.css" */ /* import "./pipeline-step.css" */
export default function PipelineStepComponent({ data, ...others }) { export default function PipelineStepComponent({ data, selected, ...others }) {
//console.log("from reactstep", others) console.log("from reactstep", selected)
return ( return (
<div className="" style={{ <div className="" style={{
padding: "2px", padding: "2px",
borderRadius: "4px", borderRadius: "4px",
background: "#1A1E2C", background: "#1A1E2C",
color: "#f2f4fc", color: "#f2f4fc",
width: "198px" width: "198px",
border: selected ? "solid": "unset"
}}> }}>
<div className="step-part step-title queued" style={{ <div className="step-part step-title queued" style={{
borderRadius: "4px 4px 0 0", borderRadius: "4px 4px 0 0",