Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 663 Bytes

File metadata and controls

21 lines (14 loc) · 663 Bytes

HeaderBar

Usage

To use HeaderBar, you can import the component from the @dhis2/ui library

import { HeaderBar } from '@dhis2/ui'

Props

Name Type Default Required Description
appName string
className string
skipI18n boolean skipI18n skips initalising internationalisation in the UI component
This is useful for app-platform apps, as the platform already sets i18n, so it can skip i18n (and avoid race conditions).
For non-platform apps, they can continue relying on this logic running for backwards compatibility.
updateAvailable boolean
onApplyAvailableUpdate function