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,6 +1,7 @@
import React from "react";
import { useTranslation } from "react-i18next";
import { Layout, Menu, Icon } from "antd";
import { Layout, Menu } from "antd";
import { UserOutlined, BankFilled } from "@ant-design/icons";
export default function ProfileSideBar({
sidebarSelection,
@@ -21,11 +22,11 @@ export default function ProfileSideBar({
mode="inline"
>
<Menu.Item key="profile">
<Icon type="user" />
<UserOutlined />
<span>{t("menus.profilesidebar.profile")}</span>
</Menu.Item>
<Menu.Item key="shops">
<Icon type="bank" />
<BankFilled />
<span>{t("menus.profilesidebar.shops")}</span>
</Menu.Item>
</Menu>