string
(optional)
Class name for the top level <ul> container
Defaults to pagination
, overrides extraClassName prop (below)
string
(optional)
Useful when using Bootstrap styles, extra classNames to be added to the top level <ul> container. Use this prop to override the default justify value - for example to align elements to the start of the page use: justify-content-start
Defaults to justify-content-center
, not applicable if className prop is set
string
(optional)
Class name for all the <li> elements
Defaults to page-item
string
(optional)
Class name for <a> or <span> child elements within an <li> element:
<li ...><a class='page-link'>1</a></li>
Defaults to page-link
string
(optional)
Appended to <li> class name for the active element:
<li class='page-item active'><a class='page-link'>1</a></li>
Defaults to active
string
(optional)
Appended to <li> class name for non-clickable elements (disabled nav buttons and the break/ellipsis):
<li class='page-item disabled'><span class='page-link'>...</span></li>
Defaults to disabled