Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
minsung
2020-05-01 19:02:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8817a227072494207e2985cb3ca4b3971196fb4e
8817a227
1 parent
7f31688e
Using Class type instead of Function type
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
18 deletions
front/web/react-app/src/App.js
front/web/react-app/src/App.js
View file @
8817a22
import
React
from
'react'
;
import
logo
from
'./logo.svg'
;
import
React
,{
Component
}
from
'react'
;
import
'./App.css'
;
function
App
()
{
class
App
extends
Component
{
render
(){
return
(
<
div
className
=
"App"
>
<
header
className
=
"App-header"
>
<
img
src
=
{
logo
}
className
=
"App-logo"
alt
=
"logo"
/>
<
p
>
Edit
<
code
>
src
/
App
.
js
<
/code> and save to reload
.
<
/p
>
<
a
className
=
"App-link"
href
=
"https://reactjs.org"
target
=
"_blank"
rel
=
"noopener noreferrer"
>
Learn
React
<
/a
>
<
/header
>
Hello
,
React
!!
<
/div
>
);
);
}
}
export
default
App
;
...
...
Please
register
or
login
to post a comment