mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
feat!: use 1-indexing for PaginationNav
- fix(PaginationNav): make 'change' event emit after user interaction instead of reactive event BREAKING CHANGE: use 1-indexing for PaginationNav component
This commit is contained in:
parent
b5b392963e
commit
120cd29513
7 changed files with 49 additions and 31 deletions
|
@ -5,7 +5,7 @@ export interface PaginationNavProps
|
|||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["nav"]> {
|
||||
/**
|
||||
* Specify the current page index
|
||||
* @default 0
|
||||
* @default 1
|
||||
*/
|
||||
page?: number;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue