Skip to content

Commit

Permalink
[FIX] Replace references to non-existent PropTypes.function with Prop…
Browse files Browse the repository at this point in the history
…Types.func
  • Loading branch information
gustaff-weldon committed May 25, 2022
1 parent c675593 commit fc044f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/victory-shared-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class VictorySharedEvents extends React.Component {
),
externalEventMutations: PropTypes.arrayOf(
PropTypes.shape({
callback: PropTypes.function,
callback: PropTypes.func,
childName: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
eventKey: PropTypes.oneOfType([
PropTypes.array,
Expand All @@ -67,7 +67,7 @@ export default class VictorySharedEvents extends React.Component {
]),
PropTypes.string
]),
mutation: PropTypes.function,
mutation: PropTypes.func,
target: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
})
),
Expand Down

0 comments on commit fc044f9

Please sign in to comment.