Interface: MagVarDisplayProps
Component props for displaing a magvar.
Hierarchy
ComponentProps
↳
MagVarDisplayProps
Properties
children
• Optional
children: DisplayChildren
[]
The children of the display component.
Inherited from
ComponentProps.children
Defined in
src/sdk/components/FSComponent.ts:122
class
• Optional
class: string
| SubscribableSet
<string
>
CSS class(es) to apply to the root of the component.
Defined in
src/garminsdk/components/common/MagVarDisplay.tsx:14
magvar
• magvar: number
| Subscribable
<number
>
The magnetic variation to display, or a subscribable which provides it. By convention, positive values indicate deviation to the east of true north.
Defined in
src/garminsdk/components/common/MagVarDisplay.tsx:11
ref
• Optional
ref: NodeReference
<any
>
A reference to the display component.
Inherited from
ComponentProps.ref
Defined in
src/sdk/components/FSComponent.ts:125