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"
|
||||
size="sm"
|
||||
onClick={handleClose}
|
||||
startContent={<XIcon className="w-4 h-4" />}
|
||||
aria-label="Close agent config"
|
||||
showHoverContent={true}
|
||||
hoverContent="Close"
|
||||
>
|
||||
Close
|
||||
<XIcon className="w-4 h-4" />
|
||||
</CustomButton>
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,11 +61,10 @@ export function PromptConfig({
|
|||
variant="secondary"
|
||||
size="sm"
|
||||
onClick={handleClose}
|
||||
startContent={<XIcon className="w-4 h-4" />}
|
||||
aria-label="Close prompt config"
|
||||
className="transition-colors"
|
||||
showHoverContent={true}
|
||||
hoverContent="Close"
|
||||
>
|
||||
Close
|
||||
<XIcon className="w-4 h-4" />
|
||||
</Button>
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -256,10 +256,10 @@ export function ToolConfig({
|
|||
variant="secondary"
|
||||
size="sm"
|
||||
onClick={handleClose}
|
||||
startContent={<XIcon className="w-4 h-4" />}
|
||||
aria-label="Close tool config"
|
||||
showHoverContent={true}
|
||||
hoverContent="Close"
|
||||
>
|
||||
Close
|
||||
<XIcon className="w-4 h-4" />
|
||||
</Button>
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue