Props for the MatchingErrorToast component.

interface MatchingErrorToastProps {
error: string | null;
onDismiss: () => void;
}
interface MatchingErrorToastProps {
    error: null | string;
    onDismiss: () => void;
}

Properties

Properties

error: null | string

Error message to display, or null to hide the toast.

onDismiss: () => void

Callback when the dismiss button is clicked.