import FavoriteBorder from "@mui/icons-material/FavoriteBorder";
import Favorite from "@mui/icons-material/Favorite";
import BookmarkBorderIcon from "@mui/icons-material/BookmarkBorder";
import BookmarkIcon from "@mui/icons-material/Bookmark";

export function getIcon(iconName: string) {
  switch (iconName) {
    case "FavoriteBorder":
      return <FavoriteBorder />;
    case "Favorite":
      return <Favorite />;
    case "BookmarkBorderIcon":
      return <BookmarkBorderIcon />;
    case "BookmarkIcon":
      return <BookmarkIcon />;

    default:
      return null;
  }
}
