File tree Expand file tree Collapse file tree 2 files changed +1180
-1222
lines changed Expand file tree Collapse file tree 2 files changed +1180
-1222
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,10 @@ export const Pager: FC<PagerProps> = ({
3434 const listClasses = classNames ( listClassName , 'pagination' ) ;
3535 const { ariaLabel, label } = total || { } ;
3636 const totalAriaLabel = ariaLabel ? < span className = 'visually-hidden' > { ariaLabel } </ span > : null ;
37- const listChildren = React . Children . toArray ( children ) . filter ( child => child . type . name === 'PaginationItem' ) ;
38- const extraChildren = React . Children . toArray ( children ) . filter ( child => child . type . name !== 'PaginationItem' ) ;
37+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
38+ const listChildren = React . Children . toArray ( children ) . filter ( ( child : any ) => child . type . name === 'PaginationItem' ) ;
39+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
40+ const extraChildren = React . Children . toArray ( children ) . filter ( ( child : any ) => child . type . name !== 'PaginationItem' ) ;
3941
4042 // listChildren?.forEach(child => {
4143 // console.log(child)
You can’t perform that action at this time.
0 commit comments