Skip to content

Commit

Permalink
NotificationData
Browse files Browse the repository at this point in the history
  • Loading branch information
twiddler committed Nov 8, 2024
1 parent 1d07a31 commit 70032c0
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 @@ -10,7 +10,7 @@ export type NotificationPosition =
| 'bottom-right'
| 'bottom-center';

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

Expand Down

0 comments on commit 70032c0

Please sign in to comment.