Props
Attributes
- Graph
-
- Supertypes
-
trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
The active color. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
The active color. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
color.type
The shape of the pagination items.
The shape of the pagination items.
Attributes
- Supertypes
-
class Prop[String]class Objecttrait Matchableclass Any
- Self type
-
shape.type
Value members
Concrete methods
Number of always visible pages at the beginning and end.
Number of always visible pages at the beginning and end.
Attributes
Override or extend the styles applied to the component.
Override or extend the styles applied to the component.
Attributes
The total number of pages.
The total number of pages.
Attributes
The page selected by default when the component is uncontrolled.
The page selected by default when the component is uncontrolled.
Attributes
If true
, the component is disabled.
If true
, the component is disabled.
Attributes
Accepts a function which returns a string value that provides a user-friendly name for the current page. This is important for screen reader users.
Accepts a function which returns a string value that provides a user-friendly name for the current page. This is important for screen reader users.
For localization purposes, you can use the provided translations.
Value parameters
- {bool}
-
selected If true, the current page is selected.
- {number}
-
page The page number to format.
- {string}
-
type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous' | 'start-ellipsis' | 'end-ellipsis'). Defaults to 'page'.
Attributes
If true
, hide the next-page button.
If true
, hide the next-page button.
Attributes
If true
, hide the previous-page button.
If true
, hide the previous-page button.
Attributes
Callback fired when the page is changed.
Callback fired when the page is changed.
Value parameters
- {React.ChangeEvent<unknown>}
-
event The event source of the callback.
- {number}
-
page The page selected.
Attributes
The current page.
The current page.
Attributes
Render the item.
Render the item.
Value parameters
- {PaginationRenderItemParams}
-
params The props to spread on a PaginationItem.
Attributes
If true
, show the first-page button.
If true
, show the first-page button.
Attributes
If true
, show the last-page button.
If true
, show the last-page button.
Attributes
Number of always visible pages before and after the current page.
Number of always visible pages before and after the current page.
Attributes
The system prop that allows defining system overrides as well as additional CSS styles.
The system prop that allows defining system overrides as well as additional CSS styles.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes