- Inicio
- Primitivas
- Toast
- Ejemplos
Toast
Ejemplo básico de toast demostrando el comportamiento principal.
Ejemplos
import * as Toast from "@solidiom/toast"
;<Toast.Region>Contenido de Toast</Toast.Region>Ver código fuente
/**
* @solidiom/toast — Headless toast notification primitive.
*
* Parts: Region, Root, Title, Description, Close.
* API: createToaster() for programmatic queue control.
*/
export {
createToaster,
Region,
Root,
Title,
Description,
Close,
type ToasterOptions,
type ToasterApi,
type ToastRegionProps,
type ToastRootProps,
type ToastTitleProps,
type ToastDescriptionProps,
type ToastCloseProps,
} from "./toast"
export type { ToastEntry, ToastContextValue } from "./toast-context"