import React from "react"; import { FormControl, InputLabel, Select, MenuItem, FormHelperText } from "@mui/material"; import type { FieldConfig } from "../../../types"; interface Props { field: FieldConfig; value: any; onChange: (value: any) => void; error?: string; } export function EnumField({ field, value, onChange, error }: Props) { return ( {field.label} {field.description && {field.description}} ); }