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

    Props for AlertToast component

    interface AlertToastProps {
        alert: AlertsMeetingAlert;
        autoHideDuration?: number;
        colors?: Partial<AlertsColors>;
        icons?: Partial<AlertsIcons>;
        labels?: Partial<AlertToastLabels>;
        onAcknowledge?: (
            alertId: string,
            reason: "noted" | "not_relevant" | "false_positive" | undefined,
        ) => void;
        onClose: () => void;
        open: boolean;
        styles?: Partial<AlertsStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    Alert data

    autoHideDuration?: number

    Auto-hide duration in milliseconds (0 to disable)

    colors?: Partial<AlertsColors>

    Custom colors

    icons?: Partial<AlertsIcons>

    Custom icons

    labels?: Partial<AlertToastLabels>

    Custom labels

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

    Callback when alert is acknowledged

    onClose: () => void

    Callback when toast is closed

    open: boolean

    Whether the toast is open

    styles?: Partial<AlertsStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx prop