diff --git a/src/index.tsx b/src/index.tsx index 037903e..a9328e3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -110,10 +110,11 @@ const NextTopLoader = ({ // Check if to show at bottom const positionStyle = showAtBottom ? 'bottom: 0;' : 'top: 0;'; - + const spinnerPositionStyle = showAtBottom ? 'bottom: 15px;' : 'top: 15px;'; + const styles = ( );