accessibility

This commit is contained in:
Jade (Rose) Rowland 2025-02-21 20:03:17 -05:00
parent dfb7d7bb7f
commit bbb88a2302
6 changed files with 18 additions and 26 deletions

View file

@ -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} />;
}