aboutsummaryrefslogtreecommitdiff
path: root/part2/countrydata/src/index.js
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-05-03 23:10:07 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2023-05-03 23:10:07 -0400
commit4941c8fbbdd79850955bcec0d9cd9823139e03b0 (patch)
treebb89f513535badd90b01d8f74d72656881be18e1 /part2/countrydata/src/index.js
parentc4033a8e28d681f3c038890d70b19a1ee3021fa1 (diff)
ex2.18 country info part1
Diffstat (limited to 'part2/countrydata/src/index.js')
-rw-r--r--part2/countrydata/src/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/part2/countrydata/src/index.js b/part2/countrydata/src/index.js
new file mode 100644
index 0000000..e36818f
--- /dev/null
+++ b/part2/countrydata/src/index.js
@@ -0,0 +1,9 @@
+import React from 'react'
+import ReactDOM from 'react-dom/client'
+import App from './App'
+import './index.css'
+
+const root = ReactDOM.createRoot(document.getElementById('root'))
+root.render(
+ <App />
+)