Antd V4 Icon Updates
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user