Move around files to accomodate external development
This commit is contained in:
parent
8b3749d3de
commit
be73034d0d
10
src/lib/react.ts
Normal file
10
src/lib/react.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import ReactNamespace from 'react/index';
|
||||
import ReactDomNamespace from 'react-dom';
|
||||
|
||||
const React = window.React as typeof ReactNamespace;
|
||||
const ReactDOM = window.ReactDOM as typeof ReactDomNamespace;
|
||||
|
||||
export default React;
|
||||
export {
|
||||
ReactDOM
|
||||
}
|
Loading…
Reference in New Issue
Block a user