Skip to main content

Interface: ToggleStatusBarProps

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

Component props for ButtonStatusBar.

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/ToggleStatusBar.tsx:11

CSS class(es) to apply to the status bar's root element.


ref?

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from

ComponentProps.ref


state

state: Subscribable<boolean>

Defined in: src/garminsdk/components/common/ToggleStatusBar.tsx:8

A subscribable which provides the state of the status bar (false = off, true = on).