Interface: AbstractNumberUnitDisplayProps<F>
Component props for AbstractNumberUnitDisplay.
Type parameters
Name | Type |
---|---|
F | extends string |
Hierarchy
↳
AbstractNumberUnitDisplayProps
Properties
children
• Optional
children: DisplayChildren
[]
The children of the display component.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:122
displayUnit
• displayUnit: null
| Unit
<F
> | Subscribable
<null
| Unit
<F
>>
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.
Defined in
src/sdk/components/common/AbstractNumberUnitDisplay.tsx:18
ref
• Optional
ref: NodeReference
<any
>
A reference to the display component.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:125
value
• value: NumberUnitInterface
<F
, Unit
<F
>> | Subscribable
<NumberUnitInterface
<F
, Unit
<F
>>>
The NumberUnitInterface value to display, or a subscribable which provides it.
Defined in
src/sdk/components/common/AbstractNumberUnitDisplay.tsx:12