mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix icons
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
||||
Power,
|
||||
Image,
|
||||
Globe,
|
||||
Layout,
|
||||
MoreVertical,
|
||||
CreditCard,
|
||||
File,
|
||||
@@ -60,6 +61,7 @@ import {
|
||||
Codesandbox,
|
||||
Star,
|
||||
ArrowDown,
|
||||
Compass,
|
||||
} from 'react-feather';
|
||||
|
||||
export enum SizeProp {
|
||||
@@ -82,6 +84,8 @@ export enum ThickProp {
|
||||
export enum IconProp {
|
||||
File,
|
||||
Automation,
|
||||
Layout,
|
||||
Compass,
|
||||
User,
|
||||
Disc,
|
||||
Settings,
|
||||
@@ -656,6 +660,23 @@ const Icon: FunctionComponent<ComponentProps> = ({
|
||||
color={color ? color.toString() : (undefined as any)}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
{icon === IconProp.Layout && (
|
||||
<Layout
|
||||
size={size}
|
||||
strokeWidth={thick ? thick : ''}
|
||||
color={color ? color.toString() : (undefined as any)}
|
||||
/>
|
||||
)}
|
||||
|
||||
{icon === IconProp.Compass && (
|
||||
<Compass
|
||||
size={size}
|
||||
strokeWidth={thick ? thick : ''}
|
||||
color={color ? color.toString() : (undefined as any)}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -182,7 +182,7 @@ const DashboardSideMenu: FunctionComponent<ComponentProps> = (
|
||||
props.modelId
|
||||
),
|
||||
}}
|
||||
icon={IconProp.Layers}
|
||||
icon={IconProp.Layout}
|
||||
/>
|
||||
|
||||
<SideMenuItem
|
||||
@@ -200,7 +200,7 @@ const DashboardSideMenu: FunctionComponent<ComponentProps> = (
|
||||
|
||||
<SideMenuItem
|
||||
link={{
|
||||
title: 'Navigation Menu',
|
||||
title: 'Navigation',
|
||||
to: RouteUtil.populateRouteParams(
|
||||
RouteMap[
|
||||
PageMap.STATUS_PAGE_VIEW_NAVBAR_STYLE
|
||||
@@ -208,7 +208,7 @@ const DashboardSideMenu: FunctionComponent<ComponentProps> = (
|
||||
props.modelId
|
||||
),
|
||||
}}
|
||||
icon={IconProp.Layers}
|
||||
icon={IconProp.Compass}
|
||||
/>
|
||||
</SideMenuSection>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user