WebJamApps/CollegeLutheran

View on GitHub
src/containers/AdminDashboard/EditPic/EditPicTextField.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { TextField } from '@mui/material';

interface IeditPicTextFieldProps {
  value: string,
  label: string,
  onChange: (arg0:any) => any
}
export function EditPicTextField(props: IeditPicTextFieldProps) {
  const { value, onChange, label } = props;
  return (
    <TextField
      sx={{ marginTop: '20px' }}
      label={label}
      type="text"
      fullWidth
      value={value}
      onChange={onChange}
    />
  );
}