Options
All
  • Public
  • Public/Protected
  • All
Menu

Properties for the Header component.

internal

Hierarchy

  • HeaderProps

Index

Properties

Properties

darkMode

darkMode: boolean

Indicates whether dark mode is currently enabled.

onThemeChange

onThemeChange: (darkMode: boolean) => void

Function called when the 'dark mode' button in the Header is clicked.

Type declaration

    • (darkMode: boolean): void
    • Parameters

      • darkMode: boolean

      Returns void

Generated using TypeDoc