Prechádzať zdrojové kódy

add TranslationOutlined

visuddhinanda 2 rokov pred
rodič
commit
81575c5c87
1 zmenil súbory, kde vykonal 6 pridanie a 2 odobranie
  1. 6 2
      dashboard/src/components/term/TermItem.tsx

+ 6 - 2
dashboard/src/components/term/TermItem.tsx

@@ -1,5 +1,9 @@
 import { Button, Card, Dropdown, Space, Typography } from "antd";
 import { Button, Card, Dropdown, Space, Typography } from "antd";
-import { MoreOutlined, EditOutlined } from "@ant-design/icons";
+import {
+  MoreOutlined,
+  EditOutlined,
+  TranslationOutlined,
+} from "@ant-design/icons";
 
 
 import { ITermDataResponse } from "../api/Term";
 import { ITermDataResponse } from "../api/Term";
 import MdView from "../template/MdView";
 import MdView from "../template/MdView";
@@ -52,7 +56,7 @@ const TermItemWidget = ({ data }: IWidget) => {
                 {
                 {
                   key: "translate",
                   key: "translate",
                   label: "translate",
                   label: "translate",
-                  icon: <EditOutlined />,
+                  icon: <TranslationOutlined />,
                 },
                 },
               ],
               ],
               onClick: (e) => {
               onClick: (e) => {