mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-03 15:00:24 +00:00
ui: default TextField copy affordance to clipboard (#12714)
This commit is contained in:
parent
80c1c59ed3
commit
27c8a08144
2 changed files with 27 additions and 11 deletions
|
|
@ -420,7 +420,14 @@ export function SessionHeader() {
|
|||
}
|
||||
>
|
||||
<div class="flex flex-col gap-2">
|
||||
<TextField value={shareUrl() ?? ""} readOnly copyable tabIndex={-1} class="w-full" />
|
||||
<TextField
|
||||
value={shareUrl() ?? ""}
|
||||
readOnly
|
||||
copyable
|
||||
copyKind="link"
|
||||
tabIndex={-1}
|
||||
class="w-full"
|
||||
/>
|
||||
<div class="grid grid-cols-2 gap-2">
|
||||
<Button
|
||||
size="large"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue