From 282a6af67b7ab8cce02f9c1e517008fbd775cf93 Mon Sep 17 00:00:00 2001
From: Kamal Wickramanayake <kamal@inbox.lk>
Date: Wed, 1 Jul 2026 20:41:10 +0530
Subject: Added React Router sample app

---
 react/07-react-router/src/main.jsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 react/07-react-router/src/main.jsx

(limited to 'react/07-react-router/src/main.jsx')

diff --git a/react/07-react-router/src/main.jsx b/react/07-react-router/src/main.jsx
new file mode 100644
index 0000000..5887fb5
--- /dev/null
+++ b/react/07-react-router/src/main.jsx
@@ -0,0 +1,13 @@
+import { StrictMode } from 'react'
+import { createRoot } from 'react-dom/client'
+import { BrowserRouter} from "react-router";
+import './index.css'
+import App from './App.jsx';
+
+createRoot(document.getElementById('root')).render(
+  <StrictMode>
+    <BrowserRouter>
+      <App />
+    </BrowserRouter>
+  </StrictMode>,
+)
\ No newline at end of file
-- 
cgit v1.2.3

