CIA Compliance Manager — API Documentation - v1.1.50
    Preparing search index...

    Props for ErrorToast component

    interface ErrorToastProps {
        message: string;
        title?: string;
        isVisible: boolean;
        onDismiss: () => void;
        autoHideDuration?: number;
        position?: ToastPosition;
        retry?: () => void;
        testId?: string;
    }
    Index

    Properties

    message: string

    Error message to display

    title?: string

    Error title (optional)

    isVisible: boolean

    Whether the toast is visible

    onDismiss: () => void

    Callback when toast is dismissed

    autoHideDuration?: number

    Auto-dismiss timeout in milliseconds

    5000
    
    position?: ToastPosition

    Toast position

    'top-right'
    
    retry?: () => void

    Optional retry callback function Aligns with ErrorMessage component API for consistency

    testId?: string

    Optional test ID for automated testing