Skip to content

Commit

Permalink
fix: correct type for action
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill committed Jul 24, 2024
1 parent c740204 commit 994261c
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?: (e: React.MouseEvent<HTMLButtonElement>) => void;
href?: string;
target?: '_blank';
};

0 comments on commit 994261c

Please sign in to comment.