Bloxwap / HIG0.1.1
Component referenceStatus & feedback

Toast

Loading interactive examples…

API reference

export declare function Toast({ notices, onDismiss, dismissLabel }: {
    notices: readonly Notice[];
    onDismiss: (id: string) => void; /** Dismiss button text; defaults to HIGProvider `messages.dismiss`. The accessible name comes from `messages.dismissNotice` and contains it. */
    dismissLabel?: string;
}): React.JSX.Element;

React Native API

export declare function Toast({ notices, onDismiss, dismissLabel, maxHeight, testID }: ToastProps): React.JSX.Element;

Usage & accessibility

Visible label, semantic role/state, keyboard or platform touch behavior; device observations pending.

Feedback: accepted intent only; outcomes supplied by host; live updates silent.

Read the usage guide

On this page