From 282a6af67b7ab8cce02f9c1e517008fbd775cf93 Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Wed, 1 Jul 2026 20:41:10 +0530 Subject: Added React Router sample app --- react/07-react-router/src/features/auth/components/Login.jsx | 9 +++++++++ react/07-react-router/src/features/auth/components/Register.jsx | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 react/07-react-router/src/features/auth/components/Login.jsx create mode 100644 react/07-react-router/src/features/auth/components/Register.jsx (limited to 'react/07-react-router/src/features/auth/components') diff --git a/react/07-react-router/src/features/auth/components/Login.jsx b/react/07-react-router/src/features/auth/components/Login.jsx new file mode 100644 index 0000000..45e3e9d --- /dev/null +++ b/react/07-react-router/src/features/auth/components/Login.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const Login = () => { + return ( +
Login
+ ) +} + +export default Login \ No newline at end of file diff --git a/react/07-react-router/src/features/auth/components/Register.jsx b/react/07-react-router/src/features/auth/components/Register.jsx new file mode 100644 index 0000000..bb20b14 --- /dev/null +++ b/react/07-react-router/src/features/auth/components/Register.jsx @@ -0,0 +1,9 @@ +import React from 'react' + +const Register = () => { + return ( +
Register
+ ) +} + +export default Register \ No newline at end of file -- cgit v1.2.3