Interface: NavDataNumberFieldProps<T>
Component props for NavDataNumberField
.
Type parameters
Name | Type |
---|---|
T | extends number |
Hierarchy
↳
NavDataNumberFieldProps
Properties
children
• Optional
children: DisplayChildren
[]
The children of the display component.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:122
class
• Optional
class: string
CSS class(es) to apply to the root of the component.
Inherited from
Defined in
src/garminsdk/components/navdatafield/NavDataField.tsx:22
formatter
• formatter: (number
: number
) => string
A function which formats numbers.
Type declaration
▸ (number
): string
A function which formats numbers.
Parameters
Name | Type |
---|---|
number | number |
Returns
string
Defined in
src/garminsdk/components/navdatafield/NavDataField.tsx:142
model
• model: NavDataFieldModel
<T
>
The model data field's data model.
Inherited from
Defined in
src/garminsdk/components/navdatafield/NavDataField.tsx:19
ref
• Optional
ref: NodeReference
<any
>
A reference to the display component.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:125
title
• title: string
The title of the data field.
Inherited from
Defined in
src/garminsdk/components/navdatafield/NavDataField.tsx:16