ui updates for workflow editor

This commit is contained in:
ramnique 2025-01-18 14:20:40 +05:30
parent a41fe26d4b
commit b6728d270d
14 changed files with 334 additions and 347 deletions

View file

@ -2,7 +2,7 @@
import React from 'react';
import { Textarea, Button } from "@nextui-org/react";
import { CheckIcon, ClipboardIcon } from 'lucide-react';
import { CheckIcon, CopyIcon } from 'lucide-react';
interface EmbedCodeProps {
embedCode: string;
@ -34,7 +34,7 @@ export function EmbedCode({ embedCode }: EmbedCodeProps) {
onClick={handleCopy}
isIconOnly
>
{isCopied ? <CheckIcon size={16} /> : <ClipboardIcon size={16} />}
{isCopied ? <CheckIcon size={16} /> : <CopyIcon size={16} />}
</Button>
</div>
</div>

View file

@ -3,7 +3,7 @@
import { Button, Input } from "@nextui-org/react";
import { useState } from "react";
import { rotateSecret } from "@/app/actions";
import { CheckIcon, ClipboardIcon } from "lucide-react";
import { CheckIcon, CopyIcon } from "lucide-react";
export function Secret({
initialSecret,
@ -69,7 +69,7 @@ export function Secret({
{showCopySuccess ? (
<CheckIcon size={16} />
) : (
<ClipboardIcon size={16} />
<CopyIcon size={16} />
)}
</Button>
) : null