Added world edit subscription

And also toast lifetimes
This commit is contained in:
Alexis
2025-03-01 14:14:55 +01:00
parent 189f0eec75
commit ba3eb29e04
7 changed files with 80 additions and 14 deletions

View File

@@ -5,6 +5,12 @@ import type { ToastProps } from "."
const TOAST_LIMIT = 3
const TOAST_REMOVE_DELAY = 1000000
export enum ToastLifetime {
SHORT = 2000,
MEDIUM = 3500,
LONG = 6000,
}
export type StringOrVNode =
| string
| VNode