diff --git a/main/components/ui/RunnerClip.tsx b/main/components/ui/RunnerClip.tsx new file mode 100644 index 0000000..69a8431 --- /dev/null +++ b/main/components/ui/RunnerClip.tsx @@ -0,0 +1,38 @@ +import { useState } from "react"; +import { Button } from "./button"; +import { DownloadIcon } from "lucide-react"; + +const RunnerClip = ({ title }: { title: string }) => { + const [buttonState, setButtonState] = useState("Download"); + + const handleClick = () => { + if (buttonState === "Download") { + setButtonState("Downloading"); + } else if (buttonState === "Downloading") { + setButtonState("Use"); + } + }; + + return ( +