UNPKG

d2-ui

Version:
13 lines (10 loc) 353 B
import injectTapEventPlugin from 'react-tap-event-plugin'; import { initHeaderBar } from '../../src/app-header/initHeaderBar'; // Needed for onTouchTap // http://stackoverflow.com/a/34015469/988941 injectTapEventPlugin(); initHeaderBar( document.getElementById('header-bar'), `${DHIS_CONFIG.baseUrl}/api`, { noLoadingIndicator: true }, );