Created custom Loader component

This commit is contained in:
John Lyon-Smith
2018-03-02 08:55:17 -08:00
parent 5e790ba65c
commit 30fcdf9d77
13 changed files with 113 additions and 31 deletions

View File

@@ -1,8 +1,15 @@
import React from 'react'
import ReactDOM from 'react-dom'
import { App } from './App'
import { colorInfo } from 'ui/style'
ReactDOM.render(
<App style={{ minHeight: '100vh', position: 'relative' }} />,
document.getElementById('root')
)
// HACK: See https://github.com/facebook/react/issues/5619
let css = document.createElement('style')
document.body.appendChild(css)
css.innerHTML = `::-webkit-input-placeholder { color: ${colorInfo.textPlaceholder} }`