Skip to content

Commit

Permalink
fixed prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
TchernyavskyDaniil committed Nov 10, 2019
1 parent d9c5a44 commit ea9b57e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const CustomizableRefreshControl = ({
return <RefreshControl refreshing={refreshing} onRefresh={handleOnRefresh} {...controlParams} />
};

CustomRefreshControl.defaultProps = {
CustomizableRefreshControl.defaultProps = {
callback: null,
callbackError: () => {},
callbackParams: undefined,
Expand All @@ -51,7 +51,7 @@ CustomRefreshControl.defaultProps = {
delayCallback: () => {},
};

CustomRefreshControl.propTypes = {
CustomizableRefreshControl.propTypes = {
callback: PropTypes.func,
callbackError: PropTypes.func,
callbackParams: PropTypes.oneOfType([
Expand Down

0 comments on commit ea9b57e

Please sign in to comment.