I can't find any info anywhere on how to change the default width of a TextAreaAutosize component in material-ui.
It seems the only choice is to have this little box. Does anyone know of a better text area auto size component I can use, or how to change the width of the TextAreaAutoSize component?
The API doesn't show any properties that have anything to do with 'className'. I tried to use it anyway and it was ignored. I also tried wrapping the component in a Box, and styling that, but it was ignored by the TextArea.
Any help would be greatly appreciated!
TextField
instead (which leverages TextareaAutosize for some cases): material-ui.com/components/text-fields/#multiline. – ChurchlyTextareaAutosize
, theclassName
prop should work fine since it will be passed along to the textarea. – Churchly