mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
feat(app): change server
This commit is contained in:
parent
281f9e6236
commit
e0e07c5d48
14 changed files with 526 additions and 92 deletions
|
|
@ -206,10 +206,16 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
|
|||
>
|
||||
{props.children(item)}
|
||||
<Show when={item === props.current}>
|
||||
<Icon data-slot="list-item-selected-icon" name="check-small" />
|
||||
<span data-slot="list-item-selected-icon">
|
||||
<Icon name="check-small" />
|
||||
</span>
|
||||
</Show>
|
||||
<Show when={props.activeIcon}>
|
||||
{(icon) => <Icon data-slot="list-item-active-icon" name={icon()} />}
|
||||
{(icon) => (
|
||||
<span data-slot="list-item-active-icon">
|
||||
<Icon name={icon()} />
|
||||
</span>
|
||||
)}
|
||||
</Show>
|
||||
</button>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue