Skip to content

Commit

Permalink
Merge pull request #31 from Exabyte-io/feature/SOF-6901
Browse files Browse the repository at this point in the history
feat/SOF-6901 allow for empty icon
  • Loading branch information
timurbazhirov authored Sep 14, 2023
2 parents b290121 + 660df53 commit c282751
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mui/components/icon/IconByName.tsx
Original file line number Diff line number Diff line change
@@ -146,6 +146,7 @@ import WifiTethering from "@mui/icons-material/WifiTethering";
import WorkspacesOutlined from "@mui/icons-material/WorkspacesOutlined";
import WrapText from "@mui/icons-material/WrapText";
import YoutubeSearchedFor from "@mui/icons-material/YoutubeSearchedFor";
import Icon from "@mui/material/Icon";
import SvgIcon, { SvgIconProps } from "@mui/material/SvgIcon";
import React from "react";

@@ -356,6 +357,8 @@ const iconComponentMap: Record<string, typeof SvgIcon | ReturnType<typeof rotate
"shapes.lock": Lock,
"shapes.drag": DragIndicator,
"shapes.blurCircular": BlurCircularOutlined,
// @ts-ignore
empty: Icon,
};

export default function IconByName({

0 comments on commit c282751

Please sign in to comment.