mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 01:13:58 +08:00
Update Pagination Typescript definition to include "role" (#11474)
* Add data-, aria- and role prop types to match rc-pagination * Remove data- and aria- definitions since they are allowed already
This commit is contained in:
parent
ee1c726447
commit
fd06d7b8b1
@ -27,6 +27,7 @@ export interface PaginationProps {
|
||||
prefixCls?: string;
|
||||
selectPrefixCls?: string;
|
||||
itemRender?: (page: number, type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next') => React.ReactNode;
|
||||
role?: string;
|
||||
}
|
||||
|
||||
export interface PaginationConfig extends PaginationProps {
|
||||
|
Loading…
Reference in New Issue
Block a user