1 | import React from 'react';
|
2 | import RM from 'react-dom';
|
3 |
|
4 | import mdJson from '../tmp/__md__.json';
|
5 |
|
6 |
|
7 | class 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 | const {page} = this.props;
|
19 |
|
20 | }
|
21 | } |
\ | No newline at end of file |