Skip to content

Commit

Permalink
[@mantine/notifications] Fix notifications handlers not allowing pass…
Browse files Browse the repository at this point in the history
…ing data-* attributes (#5640)
  • Loading branch information
rtivital committed Feb 1, 2024
1 parent 1070215 commit e78a9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@mantine/notifications/src/notifications.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NotificationProps } from '@mantine/core';
import { randomId } from '@mantine/hooks';
import { createStore, MantineStore, useStore } from '@mantine/store';

export interface NotificationData extends Omit<NotificationProps, 'onClose'> {
export interface NotificationData extends Omit<NotificationProps, 'onClose'>, Record<string, any> {
/** Notification id, can be used to close or update notification */
id?: string;

Expand Down

0 comments on commit e78a9bb

Please sign in to comment.