useToast

  • Composables
  • exports: 11

What the @feugene/granularity/composables/useToast subpath exports, with signatures from its type declarations.

Source: @feugene/granularity 1.1.1, package.json#exports and dist/types

On this page

Import

import { useToast, GRANULARITY_TOAST_STATE, granularityToastPlugin } from '@feugene/granularity/composables/useToast'

Exports

GrToastTonetype
type GrToastTone = GrTone
ToastActiontype
type ToastAction
ToastInputtype
type ToastInput
ToastPromiseMessagestype
type ToastPromiseMessages
Toasttype
type Toast
ToastStatetype
type ToastState
GranularityToastPluginOptionstype
type GranularityToastPluginOptions
GRANULARITY_TOAST_STATEconst
const GRANULARITY_TOAST_STATE: InjectionKey<ToastState>
granularityToastPluginconst
const granularityToastPlugin:
resetToastContextWarningfunction
function resetToastContextWarning(): void
useToastfunction
function useToast():

Library prose

Read it in the repository: docs/components/GrToaster.md