Skip to content

v1.0.15 - getUnitLabel Utility

Choose a tag to compare

@Stamcat Stamcat released this 11 Aug 22:19
· 20 commits to main since this release
Immutable release. Only release title and notes can be modified.

getUnitLabel Utility will return a localized unit label based on your locale. This does not require the Localize instance, so you should be able to import the utility directly into your component.

Ever needed hectares per gallon in German? What about Celsius per Megabyte in Turkish? Save your localization team DAYS of effort because that comes out of the box with react-intl!