Skip to content

Commit f7e7edc

Browse files
authored
chore: update README.md
1 parent 29a4d51 commit f7e7edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ Holy Loader accepts the following props for customization:
104104
- `color` (string): Specifies the color of the top-loading bar. Default: "#59a2ff" (a shade of blue).
105105
- `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).
106106
- `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.
108108
- `trickle` (boolean): Enables or disables the automatic incremental movement of the top-loading bar. Default: true (enabled).
109109
- `easing` (string): Specifies the easing function to use for the loading animation. Accepts any valid CSS easing string. Default: "ease".
110110
- `speed` (number): Sets the animation speed of the top-loading bar in milliseconds. Default: 200 milliseconds.
111111
- `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.
113113

114114
Project inspired by [nextjs-toploader](https://github.com/TheSGJ/nextjs-toploader) & [nprogress](https://github.com/rstacruz/nprogress)

0 commit comments

Comments
 (0)