Skip to main content

Provider

Input Props

NameTypeDescription
configConfigThe application configuration

Example

import { Provider } from '@dhis2/app-runtime'

const appConfig = {
baseUrl: 'play.dhis2.org/dev',
apiVersion: 33,
}

export const App = () => (
<Provider config={appConfig}>{/* App Contents go here */}</Provider>
)