Antd V4 Icon Updates

This commit is contained in:
Patrick Fic
2020-02-28 09:52:51 -08:00
parent e2dfd6b60d
commit 93be1417be
22 changed files with 167 additions and 123 deletions

View File

@@ -1,4 +1,9 @@
import { Input, Table, Button, Icon, notification } from "antd";
import { Input, Table, Button, notification } from "antd";
import {
PlusCircleFilled,
DeleteFilled,
SyncOutlined
} from "@ant-design/icons";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { alphaSort } from "../../utils/sorters";
@@ -138,7 +143,7 @@ export default function JobsAvailableSupplementComponent({
});
}}
>
<Icon type="delete" />
<DeleteFilled />
</Button>
<Button
onClick={() => {
@@ -146,7 +151,7 @@ export default function JobsAvailableSupplementComponent({
setModalVisible(true);
}}
>
<Icon type="plus" />
<PlusCircleFilled />
</Button>
</span>
)
@@ -184,7 +189,7 @@ export default function JobsAvailableSupplementComponent({
refetch();
}}
>
<Icon type="sync" />
<SyncOutlined />
</Button>
<Button
onClick={() => {