Skip to content

Commit

Permalink
[core] fix(PanelStack2): compatibility with latest React.FC type (#6521)
Browse files Browse the repository at this point in the history
  • Loading branch information
gluxon authored Nov 9, 2023
1 parent 49f0228 commit 7d12971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/panel-stack2/panelTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface Panel<P> {
/**
* The renderer for this panel.
*/
renderPanel: (props: PanelProps<P>) => JSX.Element | null;
renderPanel: React.FC<PanelProps<P>>;

/**
* HTML title to be passed to the <Text> component
Expand Down

1 comment on commit 7d12971

@adidahiya
Copy link
Contributor

Choose a reason for hiding this comment

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

[core] fix(PanelStack2): compatibility with latest React.FC type (#6521)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.