mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-06-06 19:35:44 +02:00
Display close icon shortcut in agent , prompt and tools configs
This commit is contained in:
parent
b1384352b0
commit
d2d65fa83c
3 changed files with 9 additions and 10 deletions
|
|
@ -122,10 +122,10 @@ export function AgentConfig({
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
startContent={<XIcon className="w-4 h-4" />}
|
showHoverContent={true}
|
||||||
aria-label="Close agent config"
|
hoverContent="Close"
|
||||||
>
|
>
|
||||||
Close
|
<XIcon className="w-4 h-4" />
|
||||||
</CustomButton>
|
</CustomButton>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -61,11 +61,10 @@ export function PromptConfig({
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
startContent={<XIcon className="w-4 h-4" />}
|
showHoverContent={true}
|
||||||
aria-label="Close prompt config"
|
hoverContent="Close"
|
||||||
className="transition-colors"
|
|
||||||
>
|
>
|
||||||
Close
|
<XIcon className="w-4 h-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -256,10 +256,10 @@ export function ToolConfig({
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={handleClose}
|
onClick={handleClose}
|
||||||
startContent={<XIcon className="w-4 h-4" />}
|
showHoverContent={true}
|
||||||
aria-label="Close tool config"
|
hoverContent="Close"
|
||||||
>
|
>
|
||||||
Close
|
<XIcon className="w-4 h-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue