diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 617a8ec6..554642a6 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2694,7 +2694,7 @@ None. | Prop name | Required | Kind | Reactive | Type | Default value | Description | | :----------- | :------- | :--------------- | :------- | -------------------- | ---------------------------- | ----------------------------------------- | -| page | No | let | Yes | number | 0 | Specify the current page index | +| page | No | let | Yes | number | 1 | Specify the current page index | | total | No | let | No | number | 10 | Specify the total number of pages | | shown | No | let | No | number | 10 | Specify the total number of pages to show | | loop | No | let | No | boolean | false | Set to `true` to loop the navigation | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 9272439b..851df27a 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -8431,7 +8431,7 @@ "kind": "let", "description": "Specify the current page index", "type": "number", - "value": "0", + "value": "1", "isFunction": false, "isFunctionDeclaration": false, "isRequired": false, diff --git a/docs/src/pages/framed/PaginationNav/PaginationNavReactive.svelte b/docs/src/pages/framed/PaginationNav/PaginationNavReactive.svelte index 8c98cf91..c8e51b10 100644 --- a/docs/src/pages/framed/PaginationNav/PaginationNavReactive.svelte +++ b/docs/src/pages/framed/PaginationNav/PaginationNavReactive.svelte @@ -7,8 +7,8 @@
-
diff --git a/src/PaginationNav/PaginationItem.svelte b/src/PaginationNav/PaginationItem.svelte index 83a36046..4f98c855 100644 --- a/src/PaginationNav/PaginationItem.svelte +++ b/src/PaginationNav/PaginationItem.svelte @@ -1,6 +1,6 @@