import { FormControl, TextField, useTheme, SxProps, Theme } from "@mui/material"; import type { ChangeEvent, KeyboardEvent, FocusEvent } from "react"; import type { InputProps } from "@mui/material"; interface CustomTextFieldProps { placeholder: string; value?: string; error?: string; onChange?: (event: ChangeEvent) => void; onKeyDown?: (event: KeyboardEvent) => void; onBlur?: (event: FocusEvent) => void; text?: string; sx?: SxProps; InputProps?: Partial; } export default function CustomTextField({ placeholder, value, text, sx, error, onChange, onKeyDown, onBlur, InputProps, }: CustomTextFieldProps) { const theme = useTheme(); return ( ); }