Distance

Distance should be used whenever a distance is rendered.

Props

Name
Type
Default
Description
children*
number, string
The value that should be formatted
locale
sv-SE
sv-SE
The locale used to format
unit
mil

|  
km
mil
The currency used to format

Examples

Units

Nested Text