mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-07 02:58:50 +01:00
14 lines
280 B
TypeScript
14 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 };
|