Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. <ReactModal
  2. isOpen={this.props.isLoading}
  3. contentLabel="Modal"
  4. style={{
  5. overlay : {
  6. },
  7. content : {
  8. position : 'absolute',
  9. top : '0px',
  10. left : '0px',
  11. right : '0px',
  12. bottom : '0px',
  13. border : 'none',
  14. background : '#fff',
  15. overflow : 'auto',
  16. WebkitOverflowScrolling : 'touch',
  17. outline : 'none',
  18. backgroundColor : 'rgba(200, 200, 200, 0.85)'
  19. }
  20. }}
  21. portalClassName="ReactModalPortal"
  22. overlayClassName="ReactModal__Overlay"
  23. className="ReactModal__Content"
  24. ariaHideApp={false}
  25. role="dialog"
  26. parentSelector={() => document.body}
  27. >
  28. <RingLoader color="#9099d4" size="64px" margin="4em" styleName='loader-style'/>
  29. </ReactModal>
  30.  
  31.  
  32. .loader-style {
  33. width: 64px;
  34. display: block;
  35. margin: auto;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement