Skip to content

Commit

Permalink
fix(Notification): correct onClick type for action (#212)
Browse files Browse the repository at this point in the history
Co-authored-by: kirill <[email protected]>
  • Loading branch information
KirillDyachkovskiy and kirill authored Jul 24, 2024
1 parent c740204 commit b87bad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Notification/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export type NotificationActionProps = {
view?: ButtonProps['view'];
icon?: IconData;
text: string;
onClick?: () => void;
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
href?: string;
target?: '_blank';
};

0 comments on commit b87bad1

Please sign in to comment.