Skip to content

Commit

Permalink
Add missing defaultProps to VictorySharedEvents (#2752)
Browse files Browse the repository at this point in the history
  • Loading branch information
KenanYusuf authored Jan 29, 2024
1 parent 5fc992f commit 0b1d0dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-spoons-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"victory-shared-events": patch
---

Fix VictorySharedEvents defaultProps
3 changes: 3 additions & 0 deletions packages/victory-shared-events/src/victory-shared-events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export class VictorySharedEvents extends React.Component<VictorySharedEventsProp
static displayName = "VictorySharedEvents";
static role = "shared-event-wrapper";
static contextType = TimerContext;
static defaultProps = {
groupComponent: <g />,
};

getScopedEvents;
getEventState;
Expand Down

1 comment on commit 0b1d0dc

@vercel
Copy link

@vercel vercel bot commented on 0b1d0dc Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.