From 29b898049d5322a5833b95d55f1d1a9e7dd94eaf Mon Sep 17 00:00:00 2001
From: Kamal Wickramanayake <kamal@inbox.lk>
Date: Sat, 27 Jun 2026 21:01:12 +0530
Subject: Added react/03-clean sample project

---
 react/03-clean/src/App.jsx | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 react/03-clean/src/App.jsx

(limited to 'react/03-clean/src/App.jsx')

diff --git a/react/03-clean/src/App.jsx b/react/03-clean/src/App.jsx
new file mode 100644
index 0000000..a96df94
--- /dev/null
+++ b/react/03-clean/src/App.jsx
@@ -0,0 +1,20 @@
+import { useState } from 'react'
+
+function App() {
+  const [count, setCount] = useState(0)
+
+  return (
+    <>
+        <button
+          type="button"
+          className="counter"
+          onClick={() => setCount((count) => count + 1)}
+        >
+          Count is {count}
+        </button>
+     
+    </>
+  )
+}
+
+export default App
-- 
cgit v1.2.3

