mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-09 11:04:23 +01:00
15 lines
280 B
TypeScript
15 lines
280 B
TypeScript
|
|
import { atom } from 'recoil';
|
||
|
|
import { NotificationSeverity } from '~/common';
|
||
|
|
|
||
|
|
const toastState = atom({
|
||
|
|
key: 'toastState',
|
||
|
|
default: {
|
||
|
|
open: false,
|
||
|
|
message: '',
|
||
|
|
severity: NotificationSeverity.SUCCESS,
|
||
|
|
showIcon: true,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
|
||
|
|
export default { toastState };
|