mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
22 lines
567 B
JavaScript
22 lines
567 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { Badge, Col, Label, Row, Tabs, Tab, Panel } from 'react-bootstrap';
|
|
|
|
import App from './components/App';
|
|
|
|
const $ = window.$ = require('jquery');
|
|
/* eslint no-unused-vars: 0 */
|
|
const jQuery = window.jQuery = $;
|
|
require('bootstrap');
|
|
require('./main.css');
|
|
|
|
|
|
const profileViewContainer = document.getElementById('app');
|
|
const bootstrap = JSON.parse(profileViewContainer.getAttribute('data-bootstrap'));
|
|
|
|
const user = bootstrap.user;
|
|
ReactDOM.render(
|
|
<App user={user} />,
|
|
profileViewContainer
|
|
);
|