-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTemp.txt
27 lines (21 loc) · 1.02 KB
/
Temp.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
business
entertainment
general
health
science
sports
technology
<Route path="/" element={<News pageSize={4} country={"in"} category={"general"} />}> </Route>
<Route path="/business" element={<News pageSize={4} country={"in"} category={"business"} />}> </Route>
<Route path="/entertainment" element={<News pageSize={4} country={"in"} category={"entertainment"} />}> </Route>
<Route path="/health" element={<News pageSize={4} country={"in"} category={"health"} />}> </Route>
<Route path="/science" element={<News pageSize={4} country={"in"} category={"science"} />}> </Route>
<Route path="/sports" element={<News pageSize={4} country={"in"} category={"sports"} />}> </Route>
<Route path="/technology" element={<News pageSize={4} country={"in"} category={"technology"} />}> </Route>
================= React Router Structure ===================================
<BrowserRouter>
<Routes>
<Route path="/" element={<Layout />}>
<Routes>
</BrowserRouter>
===========================================================================