files-ui-react
files-ui-react copied to clipboard
Create parameter to remove/modify `shrinkWord` method's `DEFAULT_MAX_SIZE_WORD=30`
Is your feature request related to a problem? Please describe. Yes, I can't modify the wordShrink function to extend more than 30 characters. Therefore, the filetype field is sometimes gets shortened when it should not. I want it to be a standard text field--no programmatic shrinking....
Describe the solution you'd like
Allow a parameter to remove (or adjust) the DEFAULT_MAX_SIZE_WORD in /@files-ui/core/build/utils/shrinkWord.d.ts:
https://www.npmjs.com/package/@files-ui/core?activeTab=code
Describe alternatives you've considered Overwrite the filetype text with CSS, dynamic javascript text replacement
Additional context