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([