Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
BalaSwecha
Water Cycle
Commits
fcc83d92
Commit
fcc83d92
authored
Feb 27, 2019
by
Bhaskar Praveen Naidu
Browse files
added sun
parent
7e0b6d82
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/App.js
View file @
fcc83d92
import
React
,
{
Component
}
from
'
react
'
;
import
{
Container
,
Row
,
Col
}
from
'
react-grid-system
'
;
import
Cloud
from
'
./components/Cloud
'
;
import
Sun
from
'
./components/Bird
'
;
import
Mountain
from
'
./components/Bird
'
;
import
Mountain
from
'
./components/Mountain
'
;
import
Sun
from
'
./components/Sun
'
;
class
App
extends
Component
{
render
()
{
return
(
...
...
src/components/Sun.js
View file @
fcc83d92
import
React
,
{
Component
}
from
'
react
'
;
class
Sun
extends
Component
{
render
()
{
return
(
<
p
>
Sun
Component
Edit
Here
<
/p
>
);
}
import
logo
from
'
./logo.svg
'
;
import
'
./App.css
'
;
import
Sun
from
'
./components/Sun
'
;
class
App
extends
Component
{
render
()
{
return
(
<
div
className
=
"
App
"
>
<
header
className
=
"
App-header
"
>
<
img
src
=
{
Sun
}
className
=
"
App-logo
"
alt
=
"
logo
"
/>
<
/header
>
<
/div
>
);
}
}
export
default
Sun
;
\ No newline at end of file
export
default
App
;
src/components/images/Sun.png
0 → 100644
View file @
fcc83d92
15.2 KB
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment