From 2a886fa87636e9304bbeba0af4d9355bc1cfc927 Mon Sep 17 00:00:00 2001 From: megos Date: Sun, 24 Mar 2019 17:58:10 +0900 Subject: [PATCH] Fix prop name disable to disabled (#853) --- docs/pagination-props.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pagination-props.md b/docs/pagination-props.md index f996275..fb24d02 100644 --- a/docs/pagination-props.md +++ b/docs/pagination-props.md @@ -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 }) => {