Check out the playground link here.
Why is it that TypeScript typings on TextField
are not functioning properly?
import TextField from "@mui/material/TextField";
import Select from "@mui/material/Select";
export default function App() {
return (
<>
{/* When hovering over 'multiline': does NOT display docs/types ==> not good */}
<TextField multiline={true} />
{/* When hovering over 'multiline': displays docs/types ==> good */}
<Select multiline={true} />
</>
);
}
I decided to include a Select component to show the expected behavior, but I am puzzled as to why everything works as expected with Select (or other components), but not with TextField.