useToast
What the @feugene/granularity/composables/useToast subpath exports, with signatures from its type declarations.
On this page
Import
import { useToast, GRANULARITY_TOAST_STATE, granularityToastPlugin } from '@feugene/granularity/composables/useToast'Exports
GrToastTonetypetype GrToastTone = GrToneToastActiontypetype ToastActionToastInputtypetype ToastInputToastPromiseMessagestypetype ToastPromiseMessagesToasttypetype ToastToastStatetypetype ToastStateGranularityToastPluginOptionstypetype GranularityToastPluginOptionsGRANULARITY_TOAST_STATEconstconst GRANULARITY_TOAST_STATE: InjectionKey<ToastState>granularityToastPluginconstconst granularityToastPlugin:resetToastContextWarningfunctionfunction resetToastContextWarning(): voiduseToastfunctionfunction useToast():