diff --git a/types/react-paginate/index.d.ts b/types/react-paginate/index.d.ts index 4b73f0cf14..d66309d489 100644 --- a/types/react-paginate/index.d.ts +++ b/types/react-paginate/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-paginate 6.0 +// Type definitions for react-paginate 6.2 // Project: https://github.com/AdeleD/react-paginate // Definitions by: Simon Hartcher // Wouter Hardeman @@ -6,6 +6,7 @@ // Simon Archer // Yasunori Ohoka // Shingo Sato +// SPWizard01 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -47,6 +48,11 @@ interface ReactPaginateProps { */ breakClassName?: string; + /** + * The classname on tag `a` of the ellipsis element. + */ + breakLinkClassName?: string; + /** * The method to call when a page is clicked. Exposes the current page object as an argument. */ diff --git a/types/react-paginate/react-paginate-tests.tsx b/types/react-paginate/react-paginate-tests.tsx index 90a8718c52..8785650bc8 100644 --- a/types/react-paginate/react-paginate-tests.tsx +++ b/types/react-paginate/react-paginate-tests.tsx @@ -12,6 +12,7 @@ class Test extends React.Component { nextLabel={'next'} breakLabel={'break-me'} breakClassName={'break-class'} + breakLinkClassName={'break-link'} onPageChange={(selectedItem: {selected: number}) => null} initialPage={2} forcePage={3}