Center loader
Opened this issue · 1 comments
sample-usr commented
Is there a prop or CSS styling to follow to make the Loader appear in the center of the page?
egapage commented
Do this and give it a class name:
<Loader className = "spinner" color="#26A65B" size="48px" margin="4px"/>
Then in your .css add this:
.spinner div { width: 100px; height: 100px; position: absolute; top:0; bottom: 0; left: 0; right: 0; margin: auto; }