import * as React from 'react' ; const noflash = `(function() { try {
  var mode = localStorage.getItem('bb.mode');
  if (!mode) return
  document.getElementsByTagName('html')[0].classList.add('bb-mode-' + mode);
} catch (e) {} })();` ; export function InitializeColorMode ( ) { return < script key = "bb-no-flash" dangerouslySetInnerHTML = { { __html : noflash } } />; / / eslint - disable - line react / no - danger }