accessibility
This commit is contained in:
parent
dfb7d7bb7f
commit
bbb88a2302
6 changed files with 18 additions and 26 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Incrementor } from '../incrementor/Incrementor';
|
||||
|
||||
export function Pagination({ currPage, onPageChange, className }) {
|
||||
return <Incrementor min={1} value={currPage} onChange={onPageChange} className={className} />;
|
||||
export function Pagination({ currPage, onPageChange, className, ...incrementorProps }) {
|
||||
return <Incrementor min={1} value={currPage} onChange={onPageChange} className={className} {...incrementorProps} />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue