2019-10-18 08:16:26 +00:00
|
|
|
import React from "react";
|
2019-11-25 05:07:27 +00:00
|
|
|
import { IconProps, IconWrapper } from "constants/IconConstants";
|
|
|
|
|
import { ReactComponent as WidgetsIcon } from "assets/icons/menu/widgets.svg";
|
|
|
|
|
import { ReactComponent as ApisIcon } from "assets/icons/menu/api.svg";
|
2019-10-18 08:16:26 +00:00
|
|
|
|
|
|
|
|
/* eslint-disable react/display-name */
|
|
|
|
|
|
|
|
|
|
export const MenuIcons: {
|
|
|
|
|
[id: string]: Function;
|
|
|
|
|
} = {
|
|
|
|
|
WIDGETS_ICON: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<WidgetsIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
APIS_ICON: (props: IconProps) => (
|
|
|
|
|
<IconWrapper {...props}>
|
|
|
|
|
<ApisIcon />
|
|
|
|
|
</IconWrapper>
|
|
|
|
|
),
|
|
|
|
|
};
|