mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-11 20:23:36 +08:00
change react.tsx to react.ts
This commit is contained in:
parent
1a43d2992f
commit
de7f769ca3
@ -13,7 +13,7 @@ export default function init(name: string, source: any) {
|
|||||||
|
|
||||||
import(`../src/${demoCategory}/${demoName}/React/index.jsx`)
|
import(`../src/${demoCategory}/${demoName}/React/index.jsx`)
|
||||||
.then(module => {
|
.then(module => {
|
||||||
ReactDOM.render(<module.default />, document.getElementById('app'))
|
ReactDOM.render(React.createElement(module.default), document.getElementById('app'))
|
||||||
debug()
|
debug()
|
||||||
})
|
})
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user