partial: second codemod

This commit is contained in:
Rafael Taranto 2025-04-15 12:11:07 +01:00
parent 86e3401cc8
commit 4f9b23b108
2 changed files with 6 additions and 5 deletions

View file

@ -7,9 +7,10 @@ import React from 'react'
const Dropdown = ({ label, name, options, onChange, value, className }) => {
return (
<FormControl className={classnames(className)}>
<FormControl variant="standard" className={classnames(className)}>
<InputLabel>{label}</InputLabel>
<Select
variant="standard"
autoWidth={true}
labelId={label}
id={name}
@ -22,7 +23,7 @@ const Dropdown = ({ label, name, options, onChange, value, className }) => {
))}
</Select>
</FormControl>
)
);
}
export default Dropdown