mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
feat(web): ability to style description in notifications
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user