mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-20 10:10:14 +00:00
feat: edit server config online (#112)
* feat: edit server config online * fix schema * fix error
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
Check,
|
||||
CircleArrowUp,
|
||||
Clipboard,
|
||||
CogIcon,
|
||||
Download,
|
||||
Edit2,
|
||||
Expand,
|
||||
@@ -33,6 +34,7 @@ export interface IconButtonProps extends ButtonProps {
|
||||
| "menu"
|
||||
| "ban"
|
||||
| "expand"
|
||||
| "cog"
|
||||
}
|
||||
|
||||
export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>((props, ref) => {
|
||||
@@ -87,6 +89,9 @@ export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>((props,
|
||||
case "expand": {
|
||||
return <Expand />
|
||||
}
|
||||
case "cog": {
|
||||
return <CogIcon />
|
||||
}
|
||||
}
|
||||
})()}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user