mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Merge pull request #32483 from SPWizard01/master
[react-paginate] add missing breakLinkClassName property
This commit is contained in:
Vendored
+7
-1
@@ -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 <https://github.com/deevus>
|
||||
// Wouter Hardeman <https://github.com/wouterhardeman>
|
||||
@@ -6,6 +6,7 @@
|
||||
// Simon Archer <https://github.com/archy-bold>
|
||||
// Yasunori Ohoka <https://github.com/yasupeke>
|
||||
// Shingo Sato <https://github.com/sugarshin>
|
||||
// SPWizard01 <https://github.com/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.
|
||||
*/
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user