1 | import React from 'react';
|
2 | import styles from './App.css';
|
3 | // import 'antd/dist/antd.css';
|
4 | import {Button, DatePicker } from 'antd';
|
5 | import RM from 'react-dom';
|
6 |
|
7 | import Comp, {md} from './test.md';
|
8 |
|
9 | console.log('md:', md);
|
10 |
|
11 | const App = () => (
|
12 | <div className={styles.app}>
|
13 |
|
14 | </div>
|
15 | );
|
16 |
|
17 | const M = () => {
|
18 | return (
|
19 | <div>
|
20 | qqqqqq
|
21 | <div
|
22 | dangerouslySetInnerHTML={{ __html: md }}
|
23 | />
|
24 | </div>
|
25 | )
|
26 | }
|
27 |
|
28 | // RM.render(<M />, document.getElementById('comp'));
|
29 |
|
30 |
|
31 | export default App; |
\ | No newline at end of file |