Interface: Notification
Defined in: src/betterdiscord/ui/notifications.tsx:25
Properties
actions?
ts
optional actions: ButtonActions[];Defined in: src/betterdiscord/ui/notifications.tsx:31
content?
ts
optional content: ReactNode;Defined in: src/betterdiscord/ui/notifications.tsx:28
duration?
ts
optional duration: number;Defined in: src/betterdiscord/ui/notifications.tsx:30
icon?
ts
optional icon: ComponentType<any>;Defined in: src/betterdiscord/ui/notifications.tsx:37
id
ts
id: string;Defined in: src/betterdiscord/ui/notifications.tsx:26
title?
ts
optional title: string;Defined in: src/betterdiscord/ui/notifications.tsx:27
type?
ts
optional type: NotificationType;Defined in: src/betterdiscord/ui/notifications.tsx:29
Methods
onClick()?
ts
optional onClick(): void;Defined in: src/betterdiscord/ui/notifications.tsx:35
Returns
void
onClose()?
ts
optional onClose(): void;Defined in: src/betterdiscord/ui/notifications.tsx:33
Returns
void