Procházet zdrojové kódy

更换图标 AppstoreOutlined

visuddhinanda před 3 roky
rodič
revize
feedf6412b
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      dashboard/src/components/article/MainMenu.tsx

+ 3 - 3
dashboard/src/components/article/MainMenu.tsx

@@ -1,5 +1,5 @@
 import { Button, Dropdown } from "antd";
-import { MenuOutlined } from "@ant-design/icons";
+import { AppstoreOutlined } from "@ant-design/icons";
 import { mainMenuItems } from "../library/HeadBar";
 
 const Widget = () => {
@@ -10,9 +10,9 @@ const Widget = () => {
       trigger={["click"]}
     >
       <Button
+        type="text"
         style={{ display: "block" }}
-        size="small"
-        icon={<MenuOutlined />}
+        icon={<AppstoreOutlined />}
       ></Button>
     </Dropdown>
   );