FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
erover-react/src/user.jsx at master · lpython/erover-react · GitHub
lpython
erover-react
Repository navigation
Code
Issues
Pull requests
10
(10)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
erover-react
/
src
/
user.jsx
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (25 loc) · 871 Bytes
Breadcrumbs
erover-react
/
src
/
user.jsx
Copy path
File metadata and controls
33 lines (25 loc) · 871 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
28
29
30
31
import
React
,
{
Component
}
from
"react"
;
import
Button
from
'@material-ui/core/Button'
;
import
withStyles
from
"@material-ui/core/styles/withStyles"
;
import
{
BrowserRouter
,
Route
,
Switch
}
from
'react-router-dom'
;
import
Header
from
'./header.jsx'
;
import
UserDashboard
from
'./user-dashboard.jsx'
;
import
FEMA_P154
from
'./femap154-form.jsx'
;
export
default
withStyles
(
theme
=>
(
{
}
)
)
(
function
User
(
{
match
}
)
{
return
(
<
>
<
Header
>
<
Button
color
=
"inherit"
>
Account
</
Button
>
<
Button
color
=
"inherit"
>
Logout
</
Button
>
</
Header
>
<
BrowserRouter
>
<
Switch
>
<
Route
path
=
{
match
.
path
}
component
=
{
UserDashboard
}
exact
/>
<
Route
path
=
{
match
.
path
+
"/femap154/:id"
}
component
=
{
FEMA_P154
}
/>
<
Route
component
=
{
(
)
=>
<
h6
>
Not found
</
h6
>
}
/>
</
Switch
>
</
BrowserRouter
>
</
>
)
;
}
)
Back
|
FazBrowse Home
|
New Git URL