import { Box, FormControl, InputLabel, TextField, useTheme } from "@mui/material"; interface Props { id: string; label?: string; bold?: boolean; placeholder?: string; value: string; gap?: string; onChange: (e: React.ChangeEvent) => void; } export default function InputTextfield({ id, label, placeholder, bold = false, gap = "10px", value, onChange }: Props) { const theme = useTheme(); const labelFont = bold ? theme.typography.p1 : { fontWeight: 500, fontSize: "18px", lineHeight: "21.33px" }; return ( {label} ); }