Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react';
- import PropTypes from 'prop-types';
- import './ModalWindowTable.css';
- export class ModalWindowTable extends Component {
- render() {
- if(!this.props.show) {
- return null;
- }
- return (
- <div className="backdrop">
- <div className="modal">
- <div className="row"></div>
- <div className="row"></div>
- <div className="row"></div>
- </div>
- <div className="footer">
- <button onClick={this.props.onClose}>
- Close
- </button>
- </div>
- </div>
- );
- }
- propTypes = {
- onClose: PropTypes.func.isRequired,
- show: PropTypes.bool
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement