diff --git a/README.md b/README.md index 20ee69b0..551cc2cc 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ preloadNextImage | bool | true | Based on the direction the user is navigating, rightArrowTitle | string | ' Next (Right arrow key) ' | Customize right arrow title showCloseButton | bool | true | Optionally display a close "X" button in top right corner showImageCount | bool | true | Optionally display image index, e.g., "3 of 20" -width | number | 1024 | Maximum width of the carousel; defaults to 1024px +width | number\|string | 1024 | Maximum width of the carousel; defaults to 1024px. Accepts values as `px`, `vw`, `%`, `none`, `initial` or `inherit`. A plain number defaults to usage in `px`. spinner | func | DefaultSpinner | Spinner component class spinnerColor | string | 'white' | Color of spinner spinnerSize | number | 100 | Size of spinner diff --git a/examples/src/index.html b/examples/src/index.html index 3fe99a5d..f14c496d 100644 --- a/examples/src/index.html +++ b/examples/src/index.html @@ -197,9 +197,9 @@
px, vw, %, none, initial or inherit. A plain number defaults to usage in px.