import React from "react";

import { BusinessCenterOutlined, PersonOutlineOutlined } from "@mui/icons-material";

import { CustomerType } from "../types/member";

export const CustomerTypeIcon = (type: CustomerType) => {
  if (type === CustomerType.COMPANY) {
    return <BusinessCenterOutlined fontSize="small" />;
  }
  return <PersonOutlineOutlined fontSize="small" />;
};
