Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from "react";
- import {Modal,Button} from 'react-bootstrap'
- export default class modalOrder extends Component {
- constructor(props) {
- super(props);
- }
- render() {
- return (
- <div>
- <Modal show={this.props.visible} onHide={this.props.handleClose}>
- <Modal.Header closeButton>
- <Modal.Title>Modal heading</Modal.Title>
- </Modal.Header>
- <Modal.Body>Woohoo, you're reading this text in a modal!</Modal.Body>
- <Modal.Footer>
- <Button variant="secondary" >
- Close
- </Button>
- <Button variant="primary" >
- Save Changes
- </Button>
- </Modal.Footer>
- </Modal>
- </div>
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement