WebJamApps/JaMmusic

View on GitHub
src/containers/Music/Pictures/PicTextField.tsx

Summary

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

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