Skip to main content

Type Alias: G3XMapRangeValueDisplayProps

G3XMapRangeValueDisplayProps = G3XMapRangeValueDisplayRangeProps & ComponentProps & object

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/Common/G3XMapRangeValueDisplay.tsx:35

Component props for G3XMapRangeValueDisplay.

Type declaration

class?

optional class: string | SubscribableSet<string>

CSS class(es) to apply to the display's root element.

displayUnit

displayUnit: Unit<UnitFamily.Distance> | null | Subscribable<Unit<UnitFamily.Distance> | null>

The displayed unit type.

useBasicUnitFormat?

optional useBasicUnitFormat: boolean

Whether to use basic unit text formatting instead of G3X-style unit text formatting. Ignored if unitFormatter is defined. Defaults to false.