Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sample_pdp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Praveen Reghunathan Nair
sample_pdp
Commits
d415084a
Commit
d415084a
authored
Feb 07, 2020
by
Praveen Reghunathan Nair
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding modal dialog
parent
ab8da942
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
14 deletions
+31
-14
README.md
README.md
+5
-4
LoadingAnimation.jsx
src/components/LoadingAnimation/LoadingAnimation.jsx
+8
-10
ModalDialog.jsx
src/components/ModalDialog/ModalDialog.jsx
+18
-0
ModalDialog.module.scss
src/components/ModalDialog/ModalDialog.module.scss
+0
-0
ModalDialog.spec.js
src/components/ModalDialog/ModalDialog.spec.js
+0
-0
index.js
src/components/ModalDialog/index.js
+0
-0
No files found.
README.md
View file @
d415084a
## Prerequisites
y
ou need node & npm installed.
Y
ou need node & npm installed.
Development env
...
...
@@ -9,14 +9,15 @@ Development env
`npm -v`
=> 6.4.1
## To setup the project
## To setup
and run
the project
Execute bellow commands from your terminal.
`git clone https://gitlab.mynisum.com/pnair/sample_pdp.git`
`
CD
sample_pdp`
`
cd
sample_pdp`
`npm install`
`npm run start`
\ No newline at end of file
`npm run start`
src/components/LoadingAnimation/LoadingAnimation.jsx
View file @
d415084a
import
React
,
{
Component
}
from
"react"
;
import
React
from
"react"
;
import
styles
from
'./LoadingAnimation.module.scss'
;
class
Loading
extends
Component
{
function
LoadingAnimation
(
props
)
{
render
()
{
return
(
<
div
className=
{
styles
.
loadingAnimation
}
style=
{
this
.
props
.
style
}
>
<
div
className=
{
styles
.
loader
}
></
div
>
</
div
>
);
}
return
(
<
div
className=
{
styles
.
loadingAnimation
}
style=
{
props
.
style
}
>
<
div
className=
{
styles
.
loader
}
></
div
>
</
div
>
);
}
export
default
Loading
;
\ No newline at end of file
export
default
LoadingAnimation
;
\ No newline at end of file
src/components/ModalDialog/ModalDialog.jsx
0 → 100644
View file @
d415084a
import
React
,
{
Component
}
from
'react'
;
import
styles
from
'./ModalDialog.module.scss'
;
class
ModalDialog
extends
Component
{
render
()
{
return
(
<
div
>
</
div
>
);
}
}
export
default
ModalDialog
;
\ No newline at end of file
src/components/ModalDialog/ModalDialog.module.scss
0 → 100644
View file @
d415084a
src/components/ModalDialog/ModalDialog.spec.js
0 → 100644
View file @
d415084a
src/components/ModalDialog/index.js
0 → 100644
View file @
d415084a
Write
Preview
Markdown
is supported
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