mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
import { ToastPosition } from 'react-hot-toast';
|
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
import { Sx } from '@mantine/core';
|
|
|
|
export interface NotificationProps {
|
|
style?: Sx;
|
|
description?: string;
|
|
title?: string;
|
|
duration?: number;
|
|
icon?: IconProp;
|
|
iconColor?: string;
|
|
position?: ToastPosition | 'top' | 'bottom';
|
|
id?: number | string;
|
|
type?: string;
|
|
}
|