source: components/Loading.jsx

main
Last change on this file was 87614a5, checked in by anastasovv <simon@…>, 2 years ago

Blackjack prototype

  • Property mode set to 100644
File size: 440 bytes
Line 
1import React from 'react'
2
3import { useSelector } from 'react-redux'
4
5const Loading = () => {
6 const styleState = useSelector(state => state.style);
7
8 return (
9 <div className="fullscreen fs-centered loadingScreen" style={{display: styleState.style.displayLoadingScreen ? 'block' : 'none', zIndex: 10}}>
10 <div>
11 <h1>Loading...</h1>
12 </div>
13 </div>
14 )
15}
16
17export default Loading
Note: See TracBrowser for help on using the repository browser.