Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Notification): correct onClick type for action #212

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

KirillDyachkovskiy
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@@ -43,7 +43,7 @@ export type NotificationActionProps = {
view?: ButtonProps['view'];
icon?: IconData;
text: string;
onClick?: () => void;
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: e -> event

@korvin89 korvin89 changed the title fix: correct type for action fix(Notification): correct onClick type for action Jul 24, 2024
@KirillDyachkovskiy KirillDyachkovskiy merged commit b87bad1 into main Jul 24, 2024
4 checks passed
@KirillDyachkovskiy KirillDyachkovskiy deleted the components-NotificationAction-fix-type branch July 24, 2024 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants