feat(web): ability to style description in notifications

This commit is contained in:
LukeWasTaken
2023-05-10 16:25:30 +02:00
parent 8a8700ca57
commit 21990796f5
6 changed files with 774 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
import { CSSProperties } from 'react';
import { Sx } from '@mantine/core';
import { IconName, IconPrefix } from '@fortawesome/fontawesome-common-types';
type NotificationPosition =
@@ -19,7 +19,7 @@ interface NotifyProps {
duration?: number;
position?: NotificationPosition;
type?: NotificationType;
style?: CSSProperties;
style?: Sx;
icon?: IconName | [IconPrefix, IconName];
iconColor?: string;
}