Skip to main content

Interface: AbstractNumberUnitDisplayProps<F>

Defined in: src/sdk/components/common/AbstractNumberUnitDisplay.tsx:10

Component props for AbstractNumberUnitDisplay.

Extends​

Type Parameters​

Type Parameter
F extends string

Properties​

children?​

optional children: DisplayChildren[]

Defined in: src/sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from​

ComponentProps.children


displayUnit​

displayUnit: null | Unit<F> | Subscribable<null | Unit<F>>

Defined in: src/sdk/components/common/AbstractNumberUnitDisplay.tsx:18

The unit type in which to display the value, or a subscribable which provides it. If the unit is null, then the native type of the value is used instead.


ref?​

optional ref: NodeReference<any>

Defined in: src/sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from​

ComponentProps.ref


value​

value: NumberUnitInterface<F, Unit<F>> | Subscribable<NumberUnitInterface<F, Unit<F>>>

Defined in: src/sdk/components/common/AbstractNumberUnitDisplay.tsx:12

The NumberUnitInterface value to display, or a subscribable which provides it.