UNPKG

355 BJavaScriptView Raw
1import React from 'react';
2import RM from 'react-dom';
3
4import mdJson from '../tmp/__md__.json';
5
6
7class Render extends React.Component {
8 constructor(props) {
9 super(props);
10 }
11
12 componentDidMount() {
13 console.log('comp:', mdData);
14 RM.render(<MD.Comp />, document.getElementById(id));
15 }
16
17 render() {
18
19 }
20}
\No newline at end of file