<CustomProvider
data={{
'action::menu/getModules': {
modules: [
{
defaultAction: '../dhis-web-dashboard/index.action',
description: '',
displayName: 'Dashboard',
icon: '../icons/dhis-web-dashboard.png',
name: 'dhis-web-dashboard',
namespace: '/dhis-web-dashboard'
},
{
defaultAction: '../dhis-web-data-visualizer/index.action',
description: '',
displayName: 'Data Visualizer',
icon: '../icons/dhis-web-data-visualizer.png',
name: 'dhis-web-data-visualizer',
namespace: '/dhis-web-data-visualizer'
},
{
defaultAction: '../dhis-web-capture/index.action',
description: '',
displayName: 'Capture',
icon: '../icons/dhis-web-capture.png',
name: 'dhis-web-capture',
namespace: '/dhis-web-capture'
},
{
defaultAction: '../dhis-web-maintenance/index.action',
description: '',
displayName: 'Maintenance',
icon: '../icons/dhis-web-maintenance.png',
name: 'dhis-web-maintenance',
namespace: '/dhis-web-maintenance'
},
{
defaultAction: '../dhis-web-maps/index.action',
description: '',
displayName: 'Maps',
icon: '../icons/dhis-web-maps.png',
name: 'dhis-web-maps',
namespace: '/dhis-web-maps'
},
{
defaultAction: '../dhis-web-event-reports/index.action',
description: '',
displayName: 'Event Reports',
icon: '../icons/dhis-web-event-reports.png',
name: 'dhis-web-event-reports',
namespace: '/dhis-web-event-reports'
},
{
defaultAction: '../dhis-web-interpretation/index.action',
description: '',
displayName: 'Interpretations',
icon: '../icons/dhis-web-interpretation.png',
name: 'dhis-web-interpretation',
namespace: '/dhis-web-interpretation'
},
{
defaultAction: '../dhis-web-importexport/index.action',
description: '',
displayName: 'Import/Export',
icon: '../icons/dhis-web-importexport.png',
name: 'dhis-web-importexport',
namespace: '/dhis-web-importexport'
},
{
defaultAction: 'https://play.dhis2.org/2.32.0/api/apps/WHO-Metadata-browser/index.html',
description: '',
displayName: '',
icon: 'https://play.dhis2.org/2.32.0/api/apps/WHO-Metadata-browser/icons/medicine-48.png',
name: 'WHO Metadata browser',
namespace: 'WHO Metadata browser'
},
{
defaultAction: 'https://play.dhis2.org/2.32.0/api/apps/Dashboard-Classic/index.html',
description: 'DHIS2 Legacy Dashboard App',
displayName: '',
icon: 'https://play.dhis2.org/2.32.0/api/apps/Dashboard-Classic/icon.png',
name: 'Dashboard Classic',
namespace: 'Dashboard Classic'
}
]
},
me: {
email: 'john_doe@dhis2.org',
name: 'John Doe',
settings: {
keyUiLocale: 'en'
}
},
'me/dashboard': {
unreadInterpretations: 10,
unreadMessageConversations: 5
},
'system/info': {
contextPath: 'https://play.dhis2.org/2.32.0',
systemName: 'Foobar'
}
}}
>
<HeaderBar appName="Example!" />
</CustomProvider>