From 247a5bd0f8f4ce77bc5d02ccb1a315b254b23e8f Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 4 Jan 2021 17:55:22 +0100 Subject: naar typescript --- src/App.tsx | 20 ++++++++++++++++++++ src/index.tsx | 12 ++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/App.tsx create mode 100644 src/index.tsx (limited to 'src') diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 0000000..17a3e20 --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,20 @@ +import logo from './logo.svg'; +import './App.css'; + +function App() { + return ( +
+
+ logo +

+ Edit src/App.js and save to reload. +

+ + Learn React + +
+
+ ); +} + +export default App; diff --git a/src/index.tsx b/src/index.tsx new file mode 100644 index 0000000..62adcf3 --- /dev/null +++ b/src/index.tsx @@ -0,0 +1,12 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; +import './index.css'; +import App from './App'; + +ReactDOM.render( + + + , + document.getElementById('root') +); + -- cgit v1.2.3