viclafouch / mui-file-input

A file input designed for the React library MUI
https://viclafouch.github.io/mui-file-input/
MIT License
77 stars 17 forks source link

fix: follow label width when fullWidth prop is true #12

Closed hey-cube closed 1 year ago

hey-cube commented 1 year ago

This PR solves https://github.com/viclafouch/mui-file-input/issues/9 . It seems that the TextField component's InputLabelProps prop etc. cannot control the style of the label element, so I'm using the sx prop. If the quality is unsatisfactory, please close.

viclafouch commented 1 year ago

Fixed in next release