Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import React from "react";
import { Step } from "../../../types/index.ts";
import RunStepButton from "../../Buttons/RunStepButton/index.tsx";
type StepTitleProps = {
step: Step;
};
function StepTitle({ step }: StepTitleProps) {
return (
<div className="flex gap-1 items-center justify-between w-full">
<p className="font-bold text-violet-500 text-base overflow-hidden text-ellipsis line-clamp-2">
{step.description}
</p>
<RunStepButton id={step.id} />
</div>
);
}
export default StepTitle;
|