Skip to content

ToastHostProps

Defined in: react/components/overlay/toast-host.tsx:17

Props for the ToastHost overlay that renders active toasts.

optional glyphSet?: ToastGlyphSet

Defined in: react/components/overlay/toast-host.tsx:25

Glyph set for the close/clear affordances. Defaults to unicode.


optional max?: number

Defined in: react/components/overlay/toast-host.tsx:21

Maximum toasts shown at once; the rest collapse into a “+N more” row.


optional position?: ToastPosition

Defined in: react/components/overlay/toast-host.tsx:19

Corner to stack toasts in. Defaults to top-right.


optional width?: number

Defined in: react/components/overlay/toast-host.tsx:23

Width of each toast box (columns). Defaults to 36.