Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ReactModal
- isOpen={this.props.isLoading}
- contentLabel="Modal"
- style={{
- overlay : {
- },
- content : {
- position : 'absolute',
- top : '0px',
- left : '0px',
- right : '0px',
- bottom : '0px',
- border : 'none',
- background : '#fff',
- overflow : 'auto',
- WebkitOverflowScrolling : 'touch',
- outline : 'none',
- backgroundColor : 'rgba(200, 200, 200, 0.85)'
- }
- }}
- portalClassName="ReactModalPortal"
- overlayClassName="ReactModal__Overlay"
- className="ReactModal__Content"
- ariaHideApp={false}
- role="dialog"
- parentSelector={() => document.body}
- >
- <RingLoader color="#9099d4" size="64px" margin="4em" styleName='loader-style'/>
- </ReactModal>
- .loader-style {
- width: 64px;
- display: block;
- margin: auto;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement