Hiyve Components - v1.0.0
    Preparing search index...

    Props for AlertStack component (manages multiple toasts)

    interface AlertStackProps {
        alerts: AlertsMeetingAlert[];
        autoHideDuration?: number;
        colors?: Partial<AlertsColors>;
        icons?: Partial<AlertsIcons>;
        labels?: Partial<AlertToastLabels>;
        maxVisible?: number;
        onDismiss?: (
            alertId: string,
            reason: "noted" | "not_relevant" | "false_positive" | undefined,
        ) => void;
        rightOffset?: number;
        styles?: Partial<AlertsStyles>;
        sx?: SxProps<Theme>;
        topOffset?: number;
    }
    Index

    Properties

    Array of alerts to show as toasts

    autoHideDuration?: number

    Auto-hide duration for each toast

    colors?: Partial<AlertsColors>

    Custom colors

    icons?: Partial<AlertsIcons>

    Custom icons

    labels?: Partial<AlertToastLabels>

    Custom labels

    maxVisible?: number

    Maximum number of visible toasts

    onDismiss?: (
        alertId: string,
        reason: "noted" | "not_relevant" | "false_positive" | undefined,
    ) => void

    Callback when toast is dismissed

    rightOffset?: number

    Position from right

    styles?: Partial<AlertsStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx prop

    topOffset?: number

    Position from top