Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5e99ab

Browse files
committed
remove icons
1 parent 72cbad5 commit e5e99ab

File tree

10 files changed

+16
-3241
lines changed

10 files changed

+16
-3241
lines changed

viewer/packages/lowcoder-comps/src/comps/agoraMeetingComp/meetingControllerComp.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import {
3232
closeEvent,
3333
MeetingEventHandlerControl,
3434
} from "lowcoder-sdk";
35-
import { default as CloseOutlined } from "@ant-design/icons/CloseOutlined";
3635
import type { JSONValue } from "../../../../lowcoder/src/util/jsonTypes";
3736
// import { default as Button } from "antd/es/button";
3837

viewer/packages/lowcoder-design/src/components/iconSelect/index.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import Draggable from "react-draggable";
2020
import { default as List, type ListRowProps } from "react-virtualized/dist/es/List";
2121
import styled from "styled-components";
2222
import { CloseIcon, SearchIcon } from "icons";
23-
import { ANTDICON } from "icons/antIcon";
24-
2523
const PopupContainer = styled.div`
2624
width: 580px;
2725
background: #ffffff;
@@ -153,7 +151,7 @@ class Icon {
153151
return (
154152
<FontAwesomeIcon
155153
icon={this.def}
156-
style={{ width: "1em", height: "1em"}}
154+
style={{ width: "1em", height: "1em" }}
157155
/>
158156
);
159157
}
@@ -187,12 +185,6 @@ async function getAllIcons() {
187185
}
188186
}
189187
//append ant icon
190-
for (let key of Object.keys(ANTDICON)) {
191-
ret["antd/" + key] = new Icon(
192-
ANTDICON[key.toLowerCase() as keyof typeof ANTDICON],
193-
["antd/" + key]
194-
);
195-
}
196188
allIcons = ret;
197189
return ret;
198190
}

0 commit comments

Comments
 (0)