Skip to content

Commit

Permalink
Fix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteMX committed Jul 16, 2020
1 parent e7dceae commit e1767a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/TreeViewComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Tree as ArrayTree } from "array-to-tree";
import Tree, { AntTreeNode } from "antd/es/tree";
import Spin from "antd/es/spin";
import Input from "antd/es/input";
import Icon from "antd/es/icon";
import Empty from "antd/es/empty";
import debounce from "debounce";

Expand Down Expand Up @@ -107,7 +106,6 @@ export class TreeViewComponent extends Component<TreeViewComponentProps> {
expandedKeys={expandedKeys}
showIcon={showIcon}
showLine={showLine}
switcherIcon={showLine ? <Icon type="caret-down-fill" /> : undefined}
selectable={false}
draggable={draggable}
onDrop={this.onDrop.bind(this)}
Expand Down
2 changes: 2 additions & 0 deletions src/components/icons.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// This is a hack to keep Antdesign Table package small.
export { default as LoadingOutlined } from "@ant-design/icons/lib/outline/LoadingOutline";
export { default as SearchOutlined } from "@ant-design/icons/lib/outline/SearchOutline";
export { default as MinusSquareOutlined } from "@ant-design/icons/lib/outline/MinusSquareOutline";
export { default as PlusSquareOutlined } from "@ant-design/icons/lib/outline/PlusSquareOutline";
export { default as CaretDownFilled } from "@ant-design/icons/lib/fill/CaretDownFill";
export { default as CloseCircleFilled } from "@ant-design/icons/lib/fill/CloseCircleFill";

0 comments on commit e1767a1

Please sign in to comment.