Skip to main content

Interface: ApproachNameDisplayProps

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:10

Properties for a VNode representing an approach name.

Extends

  • ComponentProps

Properties

airport?

optional airport: null | AirportFacility | Subscribable<undefined | null | AirportFacility>

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:24

A subscribable which provides the approach's parent airport. If no subscribable is provided or its value is null, the airport ident will not be displayed as part of the approach name.


airportIdent?

optional airportIdent: null | string | Subscribable<undefined | null | string>

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:31

A subscribable which provides the approach's parent airport ident. If no subscribable is provided or its value is null, the airport ident will not be displayed as part of the approach name. If passed in, the airport prop will be ignored.


approach?

optional approach: null | GarminApproachProcedure | Subscribable<GarminApproachProcedure | null | undefined>

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:12

A subscribable which provides an approach procedure.


approachNameParts?

optional approachNameParts: null | ApproachNameParts | Subscribable<undefined | null | ApproachNameParts>

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:18

A subscribable which provides the approach name parts. If used, the approach prop will be ignored.


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

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:43

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


nullText?

optional nullText: string

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:37

The text to display when the approach is null. Defaults to the empty string.


prefix?

optional prefix: null | string | Subscribable<undefined | null | string>

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:34

Text to display at the beginning of the display.


ref?

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from

ComponentProps.ref


useZeroWithSlash?

optional useZeroWithSlash: boolean

Defined in: src/garminsdk/components/common/ApproachNameDisplay.tsx:40

Whether to use the zero with the slash through it in place of any 0's in the name.