Guest User

Untitled

a guest
Feb 17th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <div className="container-fluid">
  2. <Card>
  3. <Card.Img variant="top" src="" />
  4. <Card.Body>
  5. <Card.Title>Basic Level 1</Card.Title>
  6. <Card.Text>
  7. Some quick example text to build on the card title and make up the bulk of
  8. the card's content.
  9. </Card.Text>
  10. <button type="button" className="btn btn-primary" onClick={this.handleShow}>Start</button>
  11. </Card.Body>
  12. </Card>
  13. <ModalList showModal = {this.state.show} closeCallback = {this.handleClose}/>
  14. </div>
  15.  
  16. <Modal show= {this.props.showModal}>
  17. <Modal.Header>
  18. <Modal.Title>Modal heading</Modal.Title>
  19. <button type="button" className="close" onClick={this.closeWasClicked}>
  20. <span aria-hidden="true">&times;</span>
  21. </button>
  22. </Modal.Header>
  23. <Modal.Body>Woohoo, you're reading this text in a modal!</Modal.Body>
  24. <Modal.Footer>
  25. <Button variant="secondary" onClick={this.closeWasClicked}>
  26. Close
  27. </Button>
  28. <Button variant="primary" >
  29. Next
  30. </Button>
  31. </Modal.Footer>
  32. </Modal>
Add Comment
Please, Sign In to add comment