File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,9 @@ export interface PaginationData {
50
50
jumpNextIcon : React . ComponentType | React . ReactNode ;
51
51
}
52
52
53
- export interface PaginationProps extends Partial < PaginationData > {
53
+ export interface PaginationProps
54
+ extends Partial < PaginationData > ,
55
+ React . AriaAttributes {
54
56
onChange ?: ( page : number , pageSize : number ) => void ;
55
57
onShowSizeChange ?: ( current : number , size : number ) => void ;
56
58
itemRender ?: (
@@ -59,6 +61,9 @@ export interface PaginationProps extends Partial<PaginationData> {
59
61
element : React . ReactNode ,
60
62
) => React . ReactNode ;
61
63
showTotal ?: ( total : number , range : [ number , number ] ) => React . ReactNode ;
64
+
65
+ // WAI-ARIA
66
+ role ?: React . AriaRole | undefined ;
62
67
}
63
68
export interface PaginationState {
64
69
current : number ;
You can’t perform that action at this time.
0 commit comments