mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-21 17:56:13 +01:00
feat(client): Toast Provider to show Toasts from higher on the DOM tree (#1110)
This commit is contained in:
parent
81a90d245b
commit
5cafe0900c
5 changed files with 34 additions and 11 deletions
|
|
@ -28,6 +28,12 @@ export enum NotificationSeverity {
|
|||
ERROR = 'error',
|
||||
}
|
||||
|
||||
export type TShowToast = {
|
||||
message: string;
|
||||
severity?: NotificationSeverity;
|
||||
showIcon?: boolean;
|
||||
};
|
||||
|
||||
export type TBaseSettingsProps = {
|
||||
conversation: TConversation | TPreset | null;
|
||||
className?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue