Askr
Generated API snapshot

@askrjs/ui/toast

Exports from the declarations published in @askrjs/ui 0.0.13. Signatures are generated from the installed artifact.

  • @askrjs/ui/toast0.0.13

Exports

This entrypoint publishes 23 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

Toasttype

Toast: (props: ToastProps) => JSX.Element | null

TOAST_A11Y_CONTRACTtype

TOAST_A11Y_CONTRACT: { readonly ROOT_ROLE: "status"; readonly LIVE_REGION_ATTRIBUTE: "aria-live"; readonly LIVE_REGION_VALUE: "polite"; readonly VIEWPORT_LABEL: "Notifications"; readonly DATA_ATTRIBUTES: { readonly slot: "data-slot"; readonly state: "data-state"; readonly disabled: "data-disabled"; }; }

ToastActiontype

ToastAction: { (props: ToastActionProps): JSX.Element; (props: ToastActionAsChildProps): JSX.Element; }

ToastClosetype

ToastClose: { (props: ToastCloseProps): JSX.Element; (props: ToastCloseAsChildProps): JSX.Element; }

ToastDescriptiontype

ToastDescription: { (props: ToastDescriptionProps): JSX.Element; (props: ToastDescriptionAsChildProps): JSX.Element; }

ToastHosttype

ToastHost: (props: ToastHostProps) => import("@askrjs/askr/jsx-runtime").JSX.Element

ToastTitletype

ToastTitle: { (props: ToastTitleProps): JSX.Element; (props: ToastTitleAsChildProps): JSX.Element; }

ToastViewporttype

ToastViewport: { (props: ToastViewportProps): JSX.Element; (props: ToastViewportAsChildProps): JSX.Element; }