all files / src/welcome/ index.jsx

0% Statements 0/10
100% Branches 0/0
100% Functions 0/0
0% Lines 0/10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                             
/* eslint no-unused-vars: 0 */
import React from 'react';
import ReactDOM from 'react-dom';
import { Panel, Row, Col, FormControl } from 'react-bootstrap';
 
import { appSetup } from '../common';
import App from './App';
 
appSetup();
 
const container = document.getElementById('app');
const bootstrap = JSON.parse(container.getAttribute('data-bootstrap'));
const user = {
  ...bootstrap.user,
};
 
ReactDOM.render(
  <App
    user={user}
  />,
  container,
);