From fd06d7b8b12fbab0c7dd2c142e15b9da795818d0 Mon Sep 17 00:00:00 2001 From: Grant Klinsing Date: Fri, 27 Jul 2018 02:14:20 -0500 Subject: [PATCH] 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 --- components/pagination/Pagination.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/pagination/Pagination.tsx b/components/pagination/Pagination.tsx index e42f31a343..6aecaea3fe 100644 --- a/components/pagination/Pagination.tsx +++ b/components/pagination/Pagination.tsx @@ -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 {