mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 10:29:11 +00:00
add @douyinfe/semi-icons :- IconEyeOpened and IconEyeClosedSolid
This commit is contained in:
parent
ccfad50e17
commit
985ec06d83
@ -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={<IconInfoCircle />}
|
||||
icon={showDataType ? <IconEyeOpened /> : <IconEyeClosedSolid />}
|
||||
style={{
|
||||
backgroundColor: "#808080b5",
|
||||
color: "black",
|
||||
backgroundColor: "#2f68adb3",
|
||||
color: "white",
|
||||
marginRight: "6px",
|
||||
}}
|
||||
onClick={() => setShowDataType(!showDataType)}
|
||||
|
Loading…
Reference in New Issue
Block a user