commercetools / commercetools/ui-kit
[FEATURE] Add truncate prop to Label and FieldLabel components
- Dominant language
- TypeScript
- Stars
- 154
- Forks
- 28
- Avg merge
- 8h 53m
- Merged PRs (30d)
- 2
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues.
### Is your feature request related to a problem? Please describe the problem.
The issue is outlined in this PR: https://github.com/commercetools/merchant-center-frontend/pull/19554
### Briefly describe the solution you'd like.
I fixed this myself with a util within the MC codebase but it would be good if there was a truncate prop for Label and FieldLabel. There is already one for the Text components. We use FormattedMessage and not the Text components for the custom fields label so that is not relevant.
### Describe alternatives you've considered.
Use util function
### Additional context
_No response_
### Champion
_No response_
### Stakeholders
_No response_
### Required components
_No response_
### Best practices
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.