gabrielbull/react-aim

View on GitHub
playground/index.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import ReactDOM from 'react-dom';
import Playground from './playground';

document.documentElement.style.width = '100%';
document.documentElement.style.height = '100%';
document.body.style.background = 'white';
document.body.style.margin = '0';
document.body.style.padding = '0';
document.body.style.width = '100%';
document.body.style.height = '100%';

document.body.innerHTML = `
  <div id="main" style="width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center"></div>
`;

ReactDOM.render(<Playground/>, document.getElementById('main'));