We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bee0a4 commit ba636b4Copy full SHA for ba636b4
src/assets/spinner.css
@@ -0,0 +1,8 @@
1
+#spinner-container{
2
+ display: flex;
3
+ justify-content:center;
4
+ padding:150px;
5
+
6
+}
7
8
src/components/CustomRingLoader.js
@@ -1,11 +1,11 @@
import React from 'react'
import { Container } from 'semantic-ui-react'
import { RingLoader } from 'react-spinners'
-
+import '../assets/spinner.css'
const CustomRingLoader = props => {
return (
- <Container>
- <RingLoader sizeUnit={'px'} size={200} color={props.color || '#34495E'} />
+ <Container id='spinner-container' >
+ <RingLoader id='spinner'sizeUnit={'px'} size={200} color={props.color || '#34495E'} />
9
</Container>
10
)
11
}
0 commit comments