diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/index.tsx | 8 | ||||
-rw-r--r-- | src/react-app-env.d.ts | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/index.tsx b/src/index.tsx new file mode 100644 index 0000000..563cfb7 --- /dev/null +++ b/src/index.tsx @@ -0,0 +1,8 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; + +ReactDOM.render( + <h1> Hello, world! </h1>, + document.getElementById('root') +); + diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts new file mode 100644 index 0000000..6431bc5 --- /dev/null +++ b/src/react-app-env.d.ts @@ -0,0 +1 @@ +/// <reference types="react-scripts" /> |