Skip to main content

Interface: MagVarDisplayProps

Defined in: src/garminsdk/components/common/MagVarDisplay.tsx:6

Component props for displaing a magvar.

Extends

  • ComponentProps

Properties

children?

optional children: DisplayChildren[]

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

The children of the display component.

Inherited from

ComponentProps.children


class?

optional class: string | SubscribableSet<string>

Defined in: src/garminsdk/components/common/MagVarDisplay.tsx:14

CSS class(es) to apply to the root of the component.


magvar

magvar: number | Subscribable<number>

Defined in: src/garminsdk/components/common/MagVarDisplay.tsx:11

The magnetic variation to display, or a subscribable which provides it. By convention, positive values indicate deviation to the east of true north.


ref?

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from

ComponentProps.ref