CIA Compliance Manager — API Documentation - v1.1.50
    Preparing search index...
    ErrorToast: React.FC<ErrorToastProps> = ...

    Error Toast Component

    Displays transient error notifications with auto-dismiss and optional retry. Designed for errors that don't require blocking the entire UI.

    // Basic error toast
    <ErrorToast
    message="Failed to save changes"
    isVisible={showToast}
    onDismiss={() => setShowToast(false)}
    />

    // Error toast with title and retry
    <ErrorToast
    title="Network Error"
    message="Unable to connect to server"
    isVisible={showToast}
    onDismiss={() => setShowToast(false)}
    retry={() => retryOperation()}
    />

    // Custom position and timeout
    <ErrorToast
    message="Operation failed"
    isVisible={showToast}
    onDismiss={() => setShowToast(false)}
    position="bottom-center"
    autoHideDuration={10000}
    />