mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 18:39:12 +00:00
add @douyinfe/semi-icons :- IconEyeOpened and IconEyeClosedSolid
This commit is contained in:
parent
ccfad50e17
commit
985ec06d83
@ -12,6 +12,8 @@ import {
|
|||||||
IconMinus,
|
IconMinus,
|
||||||
IconDeleteStroked,
|
IconDeleteStroked,
|
||||||
IconKeyStroked,
|
IconKeyStroked,
|
||||||
|
IconEyeOpened,
|
||||||
|
IconEyeClosedSolid
|
||||||
} from "@douyinfe/semi-icons";
|
} from "@douyinfe/semi-icons";
|
||||||
import { Popover, Tag, Button, SideSheet } from "@douyinfe/semi-ui";
|
import { Popover, Tag, Button, SideSheet } from "@douyinfe/semi-ui";
|
||||||
import { useLayout, useSettings, useDiagram, useSelect } from "../../hooks";
|
import { useLayout, useSettings, useDiagram, useSelect } from "../../hooks";
|
||||||
@ -115,10 +117,10 @@ export default function Table(props) {
|
|||||||
|
|
||||||
type="tertiary"
|
type="tertiary"
|
||||||
size="small"
|
size="small"
|
||||||
// icon={<IconInfoCircle />}
|
icon={showDataType ? <IconEyeOpened /> : <IconEyeClosedSolid />}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: "#808080b5",
|
backgroundColor: "#2f68adb3",
|
||||||
color: "black",
|
color: "white",
|
||||||
marginRight: "6px",
|
marginRight: "6px",
|
||||||
}}
|
}}
|
||||||
onClick={() => setShowDataType(!showDataType)}
|
onClick={() => setShowDataType(!showDataType)}
|
||||||
|
Loading…
Reference in New Issue
Block a user