import { Engine } from "@/types"; import Icon from "./Icon"; interface Props { className: string; engine: Engine; } const EngineIcon = (props: Props) => { const { className, engine } = props; if (engine === Engine.MySQL) { return ; } else if (engine === Engine.PostgreSQL) { return ; } else { return ; } }; export default EngineIcon;