Closed junah201 closed 9 months ago
I think we could just ignore this PR and do this :
<MuiFileInput
InputProps={{
startAdornment: (
<InputAdornment>
<></>
</InputAdornment>
)
}}
multiple
value={value}
onChange={handleChange}
label="test"
/>
With this, dev can customize the InputAdornment
children as he desired
@viclafouch I think using InputProps might be a perfect way to implement the hideIcon option I want But, in my opinion, following the same logic, there is no need for hideSizeText If the outcome is the same, I believe it's better to opt for a more convenient approach
Ok, got it, let me back from vacation next week and I check that !
But Thanks a lot @junah201 !
I would love the ability to customize the adornment with a different icon please!
This PR adds an option called
hideIcon
. if you enable this option,AttachFileIcon
will not be displayAnd I have also added a desecription of this option in docs