From f85f7758e68a4ca1a378c86d3b71690e1c800b66 Mon Sep 17 00:00:00 2001 From: dongchengjie <37543964+dongchengjie@users.noreply.github.com> Date: Fri, 12 Jul 2024 18:24:19 +0800 Subject: [PATCH] chore: checkbox items' title & button icons --- src/components/profile/groups-editor-viewer.tsx | 9 +++++++++ src/components/profile/proxies-editor-viewer.tsx | 5 ++++- src/components/profile/rules-editor-viewer.tsx | 5 ++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/components/profile/groups-editor-viewer.tsx b/src/components/profile/groups-editor-viewer.tsx index fc8a832..6de1b44 100644 --- a/src/components/profile/groups-editor-viewer.tsx +++ b/src/components/profile/groups-editor-viewer.tsx @@ -30,6 +30,8 @@ import { TextField, styled, } from "@mui/material"; +import VerticalAlignTopIcon from "@mui/icons-material/VerticalAlignTop"; +import VerticalAlignBottomIcon from "@mui/icons-material/VerticalAlignBottom"; import { GroupItem } from "@/components/profile/group-item"; import { getNetworkInterfaces, @@ -402,6 +404,11 @@ export const GroupsEditorViewer = (props: Props) => { disableCloseOnSelect onChange={(_, value) => value && field.onChange(value)} renderInput={(params) => } + renderOption={(props, option) => ( +
  • + {option} +
  • + )} /> )} @@ -705,6 +712,7 @@ export const GroupsEditorViewer = (props: Props) => {