Fix prop name disable to disabled (#853)

This commit is contained in:
megos
2019-03-24 16:58:10 +08:00
committed by Allen
parent 449583ac28
commit 2a886fa876
+2 -2
View File
@@ -137,7 +137,7 @@ Custom the page button inside the pagination list. This callback function have o
* `page`: Page number
* `active`: If this page is current page or not.
* `disable`: If this page is disabled or not.
* `disabled`: If this page is disabled or not.
* `title`: Page title
* `onPageChange`: Call it when you need to change page
@@ -146,7 +146,7 @@ Following is a minimal example:
const pageButtonRenderer = ({
page,
active,
disable,
disabled,
title,
onPageChange
}) => {