mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +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`)
|
||||
.then(module => {
|
||||
ReactDOM.render(<module.default />, document.getElementById('app'))
|
||||
ReactDOM.render(React.createElement(module.default), document.getElementById('app'))
|
||||
debug()
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue
Block a user