feat: batch set server config (#114)

* feat: batch set server config

* make every field optional

* chore: auto-fix linting and formatting issues

* update

* [WIP] improve batch edit ux

* chore: auto-fix linting and formatting issues
This commit is contained in:
UUBulb
2025-02-04 11:19:52 +08:00
committed by GitHub
parent 70b8f39bd6
commit a52bf64779
10 changed files with 349 additions and 77 deletions
+5
View File
@@ -10,6 +10,7 @@ import {
Expand,
FolderClosed,
Menu,
Minus,
Play,
Plus,
Terminal,
@@ -35,6 +36,7 @@ export interface IconButtonProps extends ButtonProps {
| "ban"
| "expand"
| "cog"
| "minus"
}
export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>((props, ref) => {
@@ -92,6 +94,9 @@ export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>((props,
case "cog": {
return <CogIcon />
}
case "minus": {
return <Minus />
}
}
})()}
</Button>