PluginProbe
Hello Plus / 1.2.0
Hello Plus v1.2.0
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.6.2 1.7.0 1.7.1 1.7.2 1.7.3 All 30 releases
hello-plus / modules / admin / assets / js / components / spinner / spinner.js

spinner.js in Hello Plus 1.2.0, at modules/admin/assets/js/components/spinner/spinner.js

26 lines 547 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import CircularProgress from '@elementor/ui/CircularProgress';
2 import Box from '@elementor/ui/Box';
3
4 const Spinner = () => {
5 const style = {
6 position: 'fixed',
7 top: 0,
8 left: 0,
9 width: '100%',
10 height: '100%',
11 display: 'flex',
12 justifyContent: 'center',
13 alignItems: 'center',
14 background: 'rgba(255, 255, 255, 0.8)', // Optional: to add a semi-transparent background
15 zIndex: 1000, // Optional: to ensure the spinner is on top
16 };
17
18 return (
19 <Box style={ style }>
20 <CircularProgress />
21 </Box>
22 );
23 };
24
25 export default Spinner;
26