Adding modal dialog

parent ab8da942
## Prerequisites ## Prerequisites
you need node & npm installed. You need node & npm installed.
Development env Development env
...@@ -9,14 +9,15 @@ Development env ...@@ -9,14 +9,15 @@ Development env
`npm -v` => 6.4.1 `npm -v` => 6.4.1
## To setup the project ## To setup and run the project
Execute bellow commands from your terminal. Execute bellow commands from your terminal.
`git clone https://gitlab.mynisum.com/pnair/sample_pdp.git` `git clone https://gitlab.mynisum.com/pnair/sample_pdp.git`
`CD sample_pdp` `cd sample_pdp`
`npm install` `npm install`
`npm run start` `npm run start`
\ No newline at end of file
import React, { Component } from "react"; import React from "react";
import styles from './LoadingAnimation.module.scss'; import styles from './LoadingAnimation.module.scss';
class Loading extends Component { function LoadingAnimation(props) {
render() { return (
return ( <div className={styles.loadingAnimation} style={props.style} >
<div className={styles.loadingAnimation} style={this.props.style} > <div className={styles.loader}></div>
<div className={styles.loader}></div> </div>
</div> );
);
}
} }
export default Loading; export default LoadingAnimation;
\ No newline at end of file \ No newline at end of file
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment