2023-02-15 13:00:09 +01:00
|
|
|
import { ToastPosition } from 'react-hot-toast';
|
|
|
|
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
2023-05-10 16:25:30 +02:00
|
|
|
import { Sx } from '@mantine/core';
|
2023-02-15 13:00:09 +01:00
|
|
|
|
|
|
|
|
export interface NotificationProps {
|
2023-05-10 16:25:30 +02:00
|
|
|
style?: Sx;
|
2023-02-15 13:00:09 +01:00
|
|
|
description?: string;
|
|
|
|
|
title?: string;
|
|
|
|
|
duration?: number;
|
|
|
|
|
icon?: IconProp;
|
|
|
|
|
iconColor?: string;
|
|
|
|
|
position?: ToastPosition | 'top' | 'bottom';
|
|
|
|
|
id?: number | string;
|
|
|
|
|
type?: string;
|
2023-11-15 14:30:33 +01:00
|
|
|
alignIcon?: 'top' | 'center';
|
2023-02-15 13:00:09 +01:00
|
|
|
}
|