From ea9b57ec97d6179bb3778068397ef6ca31d948ab Mon Sep 17 00:00:00 2001 From: "d.krokhmal" Date: Sun, 10 Nov 2019 20:36:46 +0300 Subject: [PATCH] fixed prop types --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 51640a6..00369cf 100644 --- a/src/index.js +++ b/src/index.js @@ -42,7 +42,7 @@ export const CustomizableRefreshControl = ({ return }; -CustomRefreshControl.defaultProps = { +CustomizableRefreshControl.defaultProps = { callback: null, callbackError: () => {}, callbackParams: undefined, @@ -51,7 +51,7 @@ CustomRefreshControl.defaultProps = { delayCallback: () => {}, }; -CustomRefreshControl.propTypes = { +CustomizableRefreshControl.propTypes = { callback: PropTypes.func, callbackError: PropTypes.func, callbackParams: PropTypes.oneOfType([