@@ -127,27 +127,18 @@ To hide all the page numbers and create a simple pagination container with just
127127< / State>
128128```
129129
130- ## System props
131-
132- <Note variant =" warning " >
133-
134- System props are deprecated in all components except [ Box] ( /Box ) . Please use the [ ` sx ` prop] ( /overriding-styles ) instead.
135-
136- </Note >
137-
138- Pagination components get ` COMMON ` system props. Read our [ System Props] ( /system-props ) doc page for a full list of available props.
139-
140130## Component props
141131
142- | Name | Type | Default | Description |
143- | :------------------- | :------- | :--------: | :--------------------------------------------------------------------- |
144- | currentPage | Number | | ** Required.** The currently selected page. |
145- | hrefBuilder | Function | ` #${page} ` | A function to generate links based on page number. |
146- | marginPageCount | Number | 1 | How many pages to always show at the left and right of the component. |
147- | onPageChange | Function | no-op | Called with event and page number when a page is clicked. |
148- | pageCount | Number | | ** Required.** The total number of pages. |
149- | showPages | Boolean | ` true ` | Whether or not to show the individual page links. |
150- | surroundingPageCount | Number | 2 | How many pages to display on each side of the currently selected page. |
132+ | Name | Type | Default | Description |
133+ | :------------------- | :---------------- | :--------: | :--------------------------------------------------------------------- |
134+ | currentPage | Number | | ** Required.** The currently selected page. |
135+ | hrefBuilder | Function | ` #${page} ` | A function to generate links based on page number. |
136+ | marginPageCount | Number | 1 | How many pages to always show at the left and right of the component. |
137+ | onPageChange | Function | no-op | Called with event and page number when a page is clicked. |
138+ | pageCount | Number | | ** Required.** The total number of pages. |
139+ | showPages | Boolean | ` true ` | Whether or not to show the individual page links. |
140+ | surroundingPageCount | Number | 2 | How many pages to display on each side of the currently selected page. |
141+ | sx | SystemStyleObject | {} | Style to be applied to the component |
151142
152143## Theming
153144
0 commit comments