mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ignore
This commit is contained in:
parent
49ff6a852a
commit
a4f3aecbaa
2 changed files with 3 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ export function DialogModel() {
|
|||
keybind={[
|
||||
{
|
||||
keybind: { ctrl: true, name: "a", meta: false, shift: false, leader: false },
|
||||
title: connected() ? "Connect provider" : "View more providers",
|
||||
title: connected() ? "Connect provider" : "View all providers",
|
||||
onTrigger() {
|
||||
dialog.replace(() => <DialogProvider />)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import { Locale } from "@/util/locale"
|
|||
|
||||
export interface DialogSelectProps<T> {
|
||||
title: string
|
||||
placeholder?: string
|
||||
options: DialogSelectOption<T>[]
|
||||
ref?: (ref: DialogSelectRef<T>) => void
|
||||
onMove?: (option: DialogSelectOption<T>) => void
|
||||
|
|
@ -199,7 +200,7 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
|
|||
input = r
|
||||
setTimeout(() => input.focus(), 1)
|
||||
}}
|
||||
placeholder="Enter search term"
|
||||
placeholder={props.placeholder ?? "Search"}
|
||||
/>
|
||||
</box>
|
||||
</box>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue