aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-11-13 20:11:33 +0300
committereug-vs <eug-vs@keemail.me>2020-11-13 20:17:51 +0300
commit5847198e2382c6bf3fedbca03ad2fcf71243290a (patch)
treed3949f67c095da6aa6bab4bd27e7acf312cd8d83 /src
downloadfamcs-kit-5847198e2382c6bf3fedbca03ad2fcf71243290a.tar.gz
feat: initial commit
Diffstat (limited to 'src')
-rw-r--r--src/index.tsx14
-rw-r--r--src/react-app-env.d.ts1
2 files changed, 15 insertions, 0 deletions
diff --git a/src/index.tsx b/src/index.tsx
new file mode 100644
index 0000000..e79cac9
--- /dev/null
+++ b/src/index.tsx
@@ -0,0 +1,14 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+
+const App: React.FC = () => {
+ return <h1>Hello, world!</h1>
+};
+
+ReactDOM.render(
+ <React.StrictMode>
+ <App />
+ </React.StrictMode>,
+ 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" />