From 985ec06d831e3b62eb93dba50b0fe3c826a0d7b3 Mon Sep 17 00:00:00 2001 From: KRATIK_BOHRA Date: Tue, 25 Feb 2025 15:42:18 +0530 Subject: [PATCH] add @douyinfe/semi-icons :- IconEyeOpened and IconEyeClosedSolid --- src/components/EditorCanvas/Table.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/EditorCanvas/Table.jsx b/src/components/EditorCanvas/Table.jsx index ca7a37c..c0def7d 100644 --- a/src/components/EditorCanvas/Table.jsx +++ b/src/components/EditorCanvas/Table.jsx @@ -12,6 +12,8 @@ import { IconMinus, IconDeleteStroked, IconKeyStroked, + IconEyeOpened, + IconEyeClosedSolid } from "@douyinfe/semi-icons"; import { Popover, Tag, Button, SideSheet } from "@douyinfe/semi-ui"; import { useLayout, useSettings, useDiagram, useSelect } from "../../hooks"; @@ -115,10 +117,10 @@ export default function Table(props) { type="tertiary" size="small" - // icon={} + icon={showDataType ? : } style={{ - backgroundColor: "#808080b5", - color: "black", + backgroundColor: "#2f68adb3", + color: "white", marginRight: "6px", }} onClick={() => setShowDataType(!showDataType)}