FormatCompositeProps Interface
Defines the units that make up a composite format and their display properties. A composite format allows displaying a single quantity value across multiple units, such as displaying length as "5 feet 6 inches" or angle as "45° 30' 15"".
Properties
| Name | Type | Description | |
|---|---|---|---|
| includeZero Readonly | boolean | undefined | ||
| spacer Readonly | string | undefined | separates values when formatting composite strings | |
| units Readonly | { label?: string, name: string }[] | Array of units this format is comprised of. |
Defined in
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.