You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,11 +104,11 @@ Holy Loader accepts the following props for customization:
104
104
-`color` (string): Specifies the color of the top-loading bar. Default: "#59a2ff" (a shade of blue).
105
105
-`initialPosition` (number): Sets the initial position of the top-loading bar as a percentage of the total width. Default: 0.08 (8% of the total width).
106
106
-`trickleSpeed` (number): Determines the delay speed for the incremental movement of the top-loading bar, in milliseconds. Default: 200 milliseconds.
107
-
-`height` (number): Defines the height of the top-loading bar in pixels or css unit. Default: 4 pixels.
107
+
-`height` (number | string): Defines the height of the top-loading bar in pixels or css unit. Default: 4 pixels.
108
108
-`trickle` (boolean): Enables or disables the automatic incremental movement of the top-loading bar. Default: true (enabled).
109
109
-`easing` (string): Specifies the easing function to use for the loading animation. Accepts any valid CSS easing string. Default: "ease".
110
110
-`speed` (number): Sets the animation speed of the top-loading bar in milliseconds. Default: 200 milliseconds.
111
111
-`zIndex` (number): Defines the z-index property of the top-loading bar, controlling its stacking order. Default: 2147483647.
112
-
-`boxShadow` (string): Sets the box-shadow property of the top-loading bar. Default: "none".
112
+
-`boxShadow` (string): Sets the box-shadow property of the top-loading bar. Turned off by default.
113
113
114
114
Project inspired by [nextjs-toploader](https://github.com/TheSGJ/nextjs-toploader) & [nprogress](https://github.com/rstacruz/nprogress)
0 commit comments